ShakeParserImpl
The default implementation of the abstract ShakeParser class.
Types
Link copied to clipboard
inner class ParserError(message: String?, name: String?, details: String?, start: Position?, end: Position?) : CompilerError
Properties
Link copied to clipboard
The ShakeTokenInputStream to be parsed.
Link copied to clipboard
The PositionMap of the input. It is directly taken from the input, because ShakeTokenInputStream already provides a PositionMap implementation.
Functions
Link copied to clipboard
Parses a value (a literal, a variable usage, a method call, calculation, etc.).
Link copied to clipboard
Parses the input and returns the root ShakeNode of the parsed tree (A ShakeFileNode)
Link copied to clipboard
Starts the parsing process, but directly jumps into the statement parsing phase (statements can normally be found in methods, constructors, etc.).