Documentation ¶
Overview ¶
Package token holds the tokens generated my the minidown scanner.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloseBracket ¶
CloseBracket represents a ')', ']' or '}'.
func (CloseBracket) CST ¶
func (t CloseBracket) CST() cst.Node
CST returns the cst.Node of this token.
func (CloseBracket) Is ¶
func (t CloseBracket) Is(r rune) bool
Is returns true if the bracket is of the type r.
type OpenBracket ¶
OpenBracket represents a '(', '[' or '{'.
func (OpenBracket) CST ¶
func (t OpenBracket) CST() cst.Node
CST returns the cst.Node of this token.
func (OpenBracket) Is ¶
func (t OpenBracket) Is(r rune) bool
Is returns true if the bracket is of the type r.
type Tag ¶
Tag represents a alpha-numeric wrapped with double curly brackets. For example '{{person}}'.
Click to show internal directories.
Click to hide internal directories.