Documentation ¶
Overview ¶
Package grammar contains the grammar rules and lexer related to sloth
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrMissingRequiredField = errors.New("missing required application field(s)") ErrParseSource = errors.New("error parsing source material") )
Functions ¶
Types ¶
type Grammar ¶
type Grammar struct { // Stmts is a list of Sloth grammar Statements Stmts []*Statement `@@*` }
Grammar is the participle grammar use to parse the Sloth comment groups in source files
Click to show internal directories.
Click to hide internal directories.