Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Lexer = lexer.Must(stateful.New(stateful.Rules{ "Root": { {"Func", `(@|\\)\w+`, nil}, {"Text", `[^\s]+`, nil}, {"Newline", `\n`, nil}, {"whitespace", `\s+`, nil}, }, })) Parser = participle.MustBuild( &CommentBlock{}, participle.Lexer(Lexer), ) )
Functions ¶
This section is empty.
Types ¶
type CommentBlock ¶
type ErrAtToken ¶
func (ErrAtToken) Error ¶
func (e ErrAtToken) Error() string
Click to show internal directories.
Click to hide internal directories.