Package | Description |
---|---|
org.jparsec.examples.java.ast.expression | |
org.jparsec.examples.java.ast.statement | |
org.jparsec.examples.java.parser |
Modifier and Type | Field and Description |
---|---|
Statement |
LambdaExpression.body |
Constructor and Description |
---|
LambdaExpression(List<LambdaExpression.Parameter> parameters,
Statement body) |
Modifier and Type | Class and Description |
---|---|
class |
AssertStatement
Represents an "assert" statement.
|
class |
BlockStatement
Represents a block.
|
class |
BreakStatement
Represents "break" statement.
|
class |
ContinueStatement
Represents "continue" statement.
|
class |
DoWhileStatement
Represents the "do ...
|
class |
ExpressionListStatement
Represents the comma delimited expression list used in the initializer of a "for" loop.
|
class |
ExpressionStatement
Represents a method call statement.
|
class |
ForeachStatement
Represents the enhanced for loop statement.
|
class |
ForStatement
Represents the traditional for loop.
|
class |
IfStatement
Represents an "if" statement.
|
class |
LabelStatement
Represents a label statement such as "foo:".
|
class |
NopStatement
Represents the no-op statement ";".
|
class |
ReturnStatement
Represents "return" statement.
|
class |
SuperCallStatement
Represents a "this(params)" statement.
|
class |
SwitchStatement
Represents the "switch case" expression.
|
class |
SynchronizedBlockStatement
Represents "synchronized" block.
|
class |
ThisCallStatement
Represents a "this(params)" statement.
|
class |
ThrowStatement
Represents a "throw" statement.
|
class |
TryStatement
Represents the "try-catch-finally" statement.
|
class |
VarStatement
Represents a single variable declaration.
|
class |
WhileStatement
Represents the "while () ..." statement.
|
Modifier and Type | Field and Description |
---|---|
Statement |
SynchronizedBlockStatement.block |
Statement |
SwitchStatement.defaultCase |
Statement |
ForStatement.initializer |
static Statement |
NopStatement.instance |
Statement |
IfStatement.otherwise |
Statement |
WhileStatement.statement |
Statement |
LabelStatement.statement |
Statement |
ForStatement.statement |
Statement |
ForeachStatement.statement |
Statement |
DoWhileStatement.statement |
Statement |
IfStatement.then |
Modifier and Type | Field and Description |
---|---|
List<Pair<Expression,Statement>> |
SwitchStatement.cases |
List<Pair<Expression,Statement>> |
IfStatement.elseifs |
List<Statement> |
BlockStatement.statements |
Constructor and Description |
---|
DoWhileStatement(Statement statement,
Expression condition) |
ForeachStatement(TypeLiteral type,
String var,
Expression of,
Statement statement) |
ForStatement(Statement initializer,
Expression condition,
List<Expression> incrementer,
Statement statement) |
IfStatement(Expression condition,
Statement then,
List<Pair<Expression,Statement>> elseifs,
Statement otherwise) |
LabelStatement(String name,
Statement statement) |
SwitchStatement(Expression condition,
List<Pair<Expression,Statement>> cases,
Statement defaultCase) |
SynchronizedBlockStatement(Statement block) |
WhileStatement(Expression condition,
Statement statement) |
Constructor and Description |
---|
BlockStatement(List<Statement> statements) |
IfStatement(Expression condition,
Statement then,
List<Pair<Expression,Statement>> elseifs,
Statement otherwise) |
SwitchStatement(Expression condition,
List<Pair<Expression,Statement>> cases,
Statement defaultCase) |
Modifier and Type | Method and Description |
---|---|
static Parser<Expression> |
ExpressionParser.expression(Parser<DefBody> classBody,
Parser<Statement> statement) |
Copyright © 2013–2016 jparsec. All rights reserved.