Package | Description |
---|---|
com.google.gwt.dev.jjs.ast | |
com.google.gwt.dev.jjs.ast.js | |
com.google.gwt.dev.jjs.impl | |
com.google.gwt.dev.jjs.impl.gflow.cfg |
Modifier and Type | Class and Description |
---|---|
class |
JAssertStatement
Java assert statement.
|
class |
JBlock
A list of
JStatements . |
class |
JBreakStatement
Java break statement.
|
class |
JCaseStatement
Java case statement.
|
class |
JContinueStatement
Java continue statement.
|
class |
JDeclarationStatement
Java initialized local variable statement.
|
class |
JDoStatement
Java do statement.
|
class |
JExpressionStatement
Represents a statement that is an expression.
|
class |
JForStatement
AST node representing a Java
for statement. |
class |
JIfStatement
Java if statement.
|
class |
JLabeledStatement
Java statement that has an associated label.
|
class |
JReturnStatement
Java method return statement.
|
class |
JSwitchStatement
Java switch statement.
|
class |
JThrowStatement
Java throw expression.
|
class |
JTryStatement
Java try statement.
|
class |
JWhileStatement
Java while statement.
|
Modifier and Type | Method and Description |
---|---|
JStatement |
JVisitor.accept(JStatement node) |
JStatement |
JVisitor.accept(JStatement node,
boolean allowRemove) |
JStatement |
JDoStatement.getBody() |
JStatement |
JWhileStatement.getBody() |
JStatement |
JLabeledStatement.getBody() |
JStatement |
JForStatement.getBody()
Returns the
for statement body. |
JStatement |
JIfStatement.getElseStmt() |
JStatement |
JIfStatement.getThenStmt() |
Modifier and Type | Method and Description |
---|---|
List<JStatement> |
JForStatement.getInitializers()
Returns the initializer (1st component) statements.
|
List<JStatement> |
JBlock.getStatements()
Return the statements in this block.
|
List<JStatement> |
JMethodBody.getStatements() |
Modifier and Type | Method and Description |
---|---|
JStatement |
JVisitor.accept(JStatement node) |
JStatement |
JVisitor.accept(JStatement node,
boolean allowRemove) |
void |
JBlock.addStmt(int index,
JStatement toAdd)
Insert a statement into this block.
|
void |
JBlock.addStmt(JStatement toAdd)
Add a statement to the end of this block.
|
void |
JVisitor.endVisit(JStatement x,
Context ctx) |
boolean |
JVisitor.visit(JStatement x,
Context ctx) |
Modifier and Type | Method and Description |
---|---|
void |
JBlock.addStmts(int index,
List<JStatement> toAdd)
Insert a statements into this block.
|
void |
JBlock.addStmts(List<JStatement> toAdd)
Add statements to the end of this block.
|
Constructor and Description |
---|
JDoStatement(SourceInfo info,
JExpression testExpr,
JStatement body) |
JForStatement(SourceInfo info,
List<JStatement> initializers,
JExpression condition,
JExpression increments,
JStatement body)
Creates an AST node that represents a Java for statement.
|
JIfStatement(SourceInfo info,
JExpression ifExpr,
JStatement thenStmt,
JStatement elseStmt) |
JLabeledStatement(SourceInfo info,
JLabel label,
JStatement body) |
JWhileStatement(SourceInfo info,
JExpression testExpr,
JStatement body) |
Constructor and Description |
---|
JForStatement(SourceInfo info,
List<JStatement> initializers,
JExpression condition,
JExpression increments,
JStatement body)
Creates an AST node that represents a Java for statement.
|
Modifier and Type | Class and Description |
---|---|
class |
JDebuggerStatement
Represents a JavaScript debugger statement.
|
Modifier and Type | Method and Description |
---|---|
static JStatement |
Simplifier.ifStatement(JIfStatement stmt,
JMethod currentMethod)
Simplifies an ifthenelse statement.
|
Modifier and Type | Method and Description |
---|---|
void |
JModVisitorWithTemporaryVariableCreation.endVisit(JStatement x,
Context ctx) |
static boolean |
Simplifier.isEmpty(JStatement stmt)
TODO: if the AST were normalized, we wouldn't need this.
|
protected boolean |
ToStringGenerationVisitor.nestedStatementPop(JStatement statement) |
protected boolean |
ToStringGenerationVisitor.nestedStatementPush(JStatement statement) |
boolean |
JModVisitorWithTemporaryVariableCreation.visit(JStatement x,
Context ctx) |
Modifier and Type | Class and Description |
---|---|
class |
CfgStatementNode<JNodeType extends JStatement>
A statement wrapper node.
|
Copyright © 2018. All rights reserved.