Parser class
Properties
Methods
-
advance(
) → Token -
and(
) → Expr -
arrayOrMap(
) → Expr -
assignment(
) → Expr -
block(
) → List< Stmt> -
call(
) → Expr -
check(
TokenType type) → bool -
classDeclaration(
) → Stmt -
comparison(
) → Expr -
conditional(
) → Expr -
consume(
TokenType type, String message) → Token -
declaration(
{bool rethrowError = true}) → Stmt? -
equality(
) → Expr -
error(
Token token, String message) → ParseError -
expression(
) → Expr -
expressionStatement(
) → Stmt -
factor(
) → Expr -
finishCall(
Expr callee) → Expr -
forStatement(
) → Stmt -
function(
String kind) → Functional -
ifStatement(
) → Stmt -
indexingExpr(
Expr callee) → Expr -
isAtEnd(
) → bool -
mappingExpr(
Expr callee, Token name) → Expr -
match(
List< TokenType> types) → bool -
matchforEach(
) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
or(
) → Expr -
parse(
) → List< Stmt> -
parseExpression(
) → Expr? -
peek(
) → Token -
peekNext(
) → Token -
previous(
) → Token -
primary(
) → Expr -
printStatement(
) → Stmt -
returnStatement(
) → Stmt -
statement(
) → Stmt -
synchronize(
) → void -
term(
) → Expr -
thenExpr(
Expr callee, Token name) → Expr -
toString(
) → String -
A string representation of this object.
inherited
-
unary(
) → Expr -
varDeclaration(
) → Stmt -
wait(
) → Expr -
whileStatement(
) → Stmt
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited