Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parser ¶
type Parser struct { Source string // for error messages location information (e.g. filename) Werror io.Writer // where non-fatal scanning error messages go (default os.Stderr) // contains filtered or unexported fields }
Parser gathers state data for parsing.
func (*Parser) ParseFile ¶
ParseFile parses a frundis file and returns a list of AST blocks. Sets p.Source to filename if empty.
func (*Parser) ParseString ¶
ParseString parses a frundis string and returns a list of AST blocks
Click to show internal directories.
Click to hide internal directories.