Package | Description |
---|---|
leola.ast | |
leola.frontend.parsers |
Modifier and Type | Class and Description |
---|---|
class |
ArrayAccessExpr
Accounts for array access expressions:
|
class |
ArrayAccessSetExpr
Accounts for setting an array access expressions:
|
class |
ArrayDeclExpr
Array declaration expression.
|
class |
AssignmentExpr
Assignment statement
|
class |
BinaryAssignmentExpr
Binary Assignment expression
|
class |
BinaryExpr
A Binary expression.
|
class |
BooleanExpr |
class |
BreakStmt
Empty block
|
class |
CaseExpr
Case Expression
|
class |
CatchStmt
ON Statement:
|
class |
ChainedArrayAccessExpr |
class |
ChainedArrayAccessSetExpr |
class |
ChainedAssignmentExpr
Assignment statement
|
class |
ChainedBinaryAssignmentExpr
Assignment statement
|
class |
ChainedFuncInvocationExpr
A Function invocation that reads from the top of the stack.
|
class |
ChainedMemberAccessExpr |
class |
ClassDeclStmt
Class Declaration
|
class |
CompoundExpr
A statement composed of two statements
|
class |
CompoundStmt
A statement composed of two statements
|
class |
ContinueStmt
Empty block
|
class |
DecoratorExpr
Decorator expression
|
class |
EmptyStmt
Empty block
|
class |
Expr
An Expression
|
class |
FuncDefExpr |
class |
FuncInvocationExpr
A Function invokation
|
class |
GenDefExpr |
class |
IfStmt
If Statement
|
class |
IntegerExpr
Number expression
|
class |
IsExpr
IS Expression
|
class |
LongExpr
Number expression
|
class |
MapDeclExpr |
class |
MemberAccessExpr |
class |
NamedParameterExpr
Named Parameter Expression
|
class |
NamespaceAccessExpr
Using a Namespace
|
class |
NamespaceStmt
Namespace definition Statement
|
class |
NewExpr
Instantiates a new Object
|
class |
NullExpr
Represents null
|
class |
OwnableExpr
A variable owned by a class.
|
class |
ProgramStmt
A program, the root node
|
class |
RealExpr
Number expression
|
class |
ReturnStmt
Return statement
|
class |
StringExpr |
class |
SwitchStmt
Switch Stmt
|
class |
ThrowStmt
Throw statement
|
class |
TryStmt
Try statement
|
class |
UnaryExpr
Unary operator
|
class |
VarDeclStmt |
class |
VarExpr |
class |
WhileStmt |
class |
YieldStmt
Return statement
|
Modifier and Type | Method and Description |
---|---|
Stmt |
GenDefExpr.getBody() |
Stmt |
FuncDefExpr.getBody() |
Stmt |
CatchStmt.getBody() |
Stmt |
ClassDeclStmt.getClassBodyStmt() |
Stmt |
SwitchStmt.getElseStmt() |
Stmt |
IfStmt.getElseStmt() |
Stmt |
TryStmt.getFinallyStmt() |
Stmt |
WhileStmt.getStmt() |
Stmt |
TryStmt.getStmt() |
Stmt |
NamespaceStmt.getStmt() |
Stmt |
IfStmt.getStmt() |
Modifier and Type | Method and Description |
---|---|
List<Pair<Expr,Stmt>> |
SwitchStmt.getWhenStmts() |
Constructor and Description |
---|
CatchStmt(String identifier,
Stmt body) |
ClassDeclStmt(String className,
ParameterList classParams,
Stmt classBodyStmt,
String parentClassName,
Expr[] parentClassParams,
String[] interfaceNames) |
FuncDefExpr(Stmt body,
ParameterList parameters) |
GenDefExpr(Stmt body,
ParameterList parameters) |
IfStmt(Expr condition,
Stmt stmt) |
IfStmt(Expr condition,
Stmt stmt,
Stmt elseStmt) |
NamespaceStmt(Stmt stmt,
String name) |
SwitchStmt(Expr condition,
List<Pair<Expr,Stmt>> whenStmts,
Stmt elseStmt) |
TryStmt(Stmt stmt,
CatchStmt catchStmt,
Stmt finallyStmt) |
WhileStmt(Expr condition,
Stmt stmt) |
Constructor and Description |
---|
SwitchStmt(Expr condition,
List<Pair<Expr,Stmt>> whenStmts) |
SwitchStmt(Expr condition,
List<Pair<Expr,Stmt>> whenStmts,
Stmt elseStmt) |
Modifier and Type | Method and Description |
---|---|
Stmt |
StmtParser.parseStmt(Token token)
Parses the next
Stmt |
Copyright © 2010–2015. All rights reserved.