Package | Description |
---|---|
edu.illinois.cs.cogcomp.lbjava.IR |
Modifier and Type | Class and Description |
---|---|
class |
AssertStatement
Represents an assertion statement.
|
class |
Block
A block is just a list of statements in between curly braces.
|
class |
BreakStatement
Represents a break statement.
|
class |
ContinueStatement
Represents a continue statement.
|
class |
DoStatement
Represents a while loop.
|
class |
EmptyStatement
No statement here.
|
class |
ExpressionStatement
An expression statement is a statement composed only of a single expression, as opposed to a
statement involving control flow.
|
class |
ForStatement
Represents a for loop.
|
class |
IfStatement
Represents an if statement.
|
class |
LabeledStatement
Represents any statement with an identifier label.
|
class |
ReturnStatement
Represents a return statement.
|
class |
SenseStatement
Represents a feature sensing statement.
|
class |
SwitchStatement
Represents a switch statement.
|
class |
SynchronizedStatement
Represents a synchronized statement.
|
class |
ThrowStatement
Represents a throw statement.
|
class |
TryStatement
Represents a try statement.
|
class |
VariableDeclaration
Represents a local variable declaration.
|
class |
WhileStatement
Represents a while loop.
|
Modifier and Type | Field and Description |
---|---|
Statement |
WhileStatement.body
(¬ø) The body of the loop.
|
Statement |
ForStatement.body
(¬ø) The body of the loop.
|
Statement |
IfStatement.elseClause
(ø) The statement to execute if the condition is false, if any.
|
Statement |
LabeledStatement.statement
(¬ø) The statement.
|
Statement |
IfStatement.thenClause
(¬ø) The statement to execute if the condition is true.
|
Modifier and Type | Method and Description |
---|---|
Statement |
StatementList.StatementListIterator.nextItem()
Returns the next AST node in the list.
|
Statement |
StatementList.StatementListIterator.previousItem()
Returns the previous element in the list.
|
Statement[] |
StatementList.toArray()
Transforms the list into an array of statements.
|
Statement[] |
Block.toArray()
Transforms the list into an array of statements.
|
Modifier and Type | Method and Description |
---|---|
void |
StatementList.add(Statement s)
Adds another
Statement to the end of the list. |
Constructor and Description |
---|
DoStatement(Statement b,
Expression c,
int line,
int byteOffset)
Full constructor.
|
ForStatement(ExpressionList i,
Expression c,
ExpressionList u,
Statement b,
int line,
int byteOffset)
Full constructor.
|
ForStatement(VariableDeclaration v,
Expression c,
ExpressionList u,
Statement b,
int line,
int byteOffset)
Full constructor.
|
IfStatement(Expression c,
Statement t,
int line,
int byteOffset)
Initializing constructor.
|
IfStatement(Expression c,
Statement t,
Statement e,
int line,
int byteOffset)
Full constructor.
|
LabeledStatement(String l,
Statement s,
int line,
int byteOffset)
Full constructor.
|
LabeledStatement(TokenValue l,
Statement s)
Parser's constructor.
|
StatementList(Statement s)
Initializing constructor.
|
WhileStatement(Expression c,
Statement b,
int line,
int byteOffset)
Full constructor.
|
Copyright © 2016. All rights reserved.