30 #ifndef AMATH_PARSER_H 31 #define AMATH_PARSER_H 52 explicit Parser(
const char* input);
97 bool Expect(Symbol symbol);
ExpressionNode * ParsePower()
ExpressionNode * ParseExpression()
Encapsulates an lexical analyzer. Provides token for the parser.
SyntaxNode * ParseEvaluation()
SyntaxNode * ParseDefault()
Base class for all nodes in a syntax tree.
bool Expect(Symbol symbol)
ExpressionNode * ParseAddSubstract()
SyntaxNode * ParsePromptStatement()
Tokens are created by the Lexical Analyzer and provides an intermediate state for input consumed by t...
SyntaxNode * ParseDeleteStatement()
SyntaxNode * ParseListStatement()
ExpressionNode * ParseUnary()
ExpressionNode * ParseIdent()
ExpressionNode * ParseNumber()
SyntaxNode * ParseDigistStatement()
Parser(const char *input)
SyntaxNode * ParseHelpStatement()
ExpressionNode * ParseAtomic()
ExpressionNode * ParseFactor()
SyntaxNode * ParseDrawStatement()
SyntaxNode * ParseStatement()
Represents an error message encapsulated in a syntax tree.
SyntaxNode * ParsePrefsStatement()
Base class for all nodes related to mathematical expressions.
SyntaxNode * TryParseStatement()
SyntaxNode * Parse()
Parses the input into a syntax tree.
SyntaxNode * ParseFileStatement()
SyntaxNode * ParseNumeralStatement()
Encapsulates a recursive descent parser.
SyntaxNode * ParseFunctionDef()