Package | Description |
---|---|
leola.ast | |
leola.frontend.parsers |
Modifier and Type | Method and Description |
---|---|
List<Pair<Expr,Expr>> |
MapDeclExpr.getElements() |
List<Pair<Expr,Expr>> |
CaseExpr.getWhenExprs() |
List<Pair<Expr,Stmt>> |
SwitchStmt.getWhenStmts() |
Constructor and Description |
---|
CaseExpr(Expr condition,
List<Pair<Expr,Expr>> whenExprs) |
CaseExpr(Expr condition,
List<Pair<Expr,Expr>> whenExprs,
Expr elseExpr) |
MapDeclExpr(List<Pair<Expr,Expr>> elements) |
SwitchStmt(Expr condition,
List<Pair<Expr,Stmt>> whenStmts) |
SwitchStmt(Expr condition,
List<Pair<Expr,Stmt>> whenStmts,
Stmt elseStmt) |
Modifier and Type | Method and Description |
---|---|
static List<Pair<Expr,Expr>> |
ParserUtils.parseMapParameters(StmtParser parser,
Token currentToken,
EnumSet<LeolaTokenType> commaDelimeter,
LeolaTokenType endToken)
Parses the body of a Map during a map declaration.
|
Copyright © 2010–2015. All rights reserved.