Documentation ¶
Overview ¶
Package parser contains a parser that takes a sequence of Plan tokens and produces an abstract syntax tree.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseFile ¶
ParseFile parses the source code of a single Plan source file and returns the corresponding ast.File node. The source code may be provided via the filename of the source file, or via the src parameter.
If src != nil, ParseFile parses the source from src and the filename is only used when recording position information. The type of the argument for the src parameter must be string, []byte, or io.Reader. If src == nil, ParseFile parses the file specified by filename.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.