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 | |
com.google.gwt.dev.jjs.impl.gflow.cfg |
Modifier and Type | Class and Description |
---|---|
class |
JAbsentArrayDimension
Represents an array dimension that was not specified in an array
instantiation expression.
|
class |
JAbstractMethodBody
Represents a the body of a method.
|
class |
JArrayLength
Java array length expression.
|
class |
JArrayRef
Java array reference expression.
|
class |
JArrayType
Instances are shared.
|
class |
JAssertStatement
Java assert statement.
|
class |
JBinaryOperation
Binary operator expression.
|
class |
JBlock
A list of
JStatements . |
class |
JBooleanLiteral
Java boolean literal expression.
|
class |
JBreakStatement
Java break statement.
|
class |
JCaseStatement
Java case statement.
|
class |
JCastOperation
Java cast expression.
|
class |
JCharLiteral
Java character literal expression.
|
class |
JClassLiteral
Java class literal expression.
|
class |
JClassType
Java class type reference expression.
|
class |
JConditional
Conditional expression.
|
class |
JConstructor
A Java constructor method.
|
class |
JContinueStatement
Java continue statement.
|
class |
JDeclarationStatement
Java initialized local variable statement.
|
class |
JDeclaredType
Base class for any declared type.
|
class |
JDoStatement
Java do statement.
|
class |
JDoubleLiteral
Java double literal expression.
|
class |
JEnumField
A field that is an enum constant.
|
class |
JEnumType
Java enum type reference expression.
|
class |
JExpression
Base class for all Java expressions.
|
class |
JExpressionStatement
Represents a statement that is an expression.
|
class |
JField
Java field definition.
|
class |
JFieldRef
Java field reference expression.
|
class |
JFloatLiteral
Java literal typed as a float.
|
class |
JForStatement
AST node representing a Java
for statement. |
class |
JGwtCreate
Represents a GWT.create() call before deferred binding decisions are
finalized.
|
class |
JIfStatement
Java if statement.
|
class |
JInstanceOf
Java instance of expression.
|
class |
JInterfaceType
Java interface type definition.
|
class |
JIntLiteral
Java integer literal expression.
|
class |
JLabel
Should we have a JLabelRef also?
|
class |
JLabeledStatement
Java statement that has an associated label.
|
class |
JLiteral
Base class for any Java literal expression.
|
class |
JLocal
Java local variable definition.
|
class |
JLocalRef
Java local variable reference.
|
class |
JLongLiteral
Java literal expression that evaluates to a Long.
|
class |
JMethod
A Java method implementation.
|
class |
JMethodBody
Represents a the body of a method.
|
class |
JMethodCall
Java method call expression.
|
class |
JNameOf
An AST node whose evaluation results in the string name of its node.
|
class |
JNewArray
New array expression.
|
class |
JNewInstance
A new instance expression.
|
class |
JNonNullType
A type including all the values in some other type except for
null . |
class |
JNullLiteral
Java null literal expression.
|
class |
JNullType
Java null reference type.
|
class |
JNumericEntry
A place order a numeric value in the AST.
|
class |
JParameter
Java method parameter definition.
|
class |
JParameterRef
Java method parameter reference expression.
|
class |
JPostfixOperation
Java postfix operation expression.
|
class |
JPrefixOperation
Java prefix operation expression.
|
class |
JPrimitiveType
Base class for all Java primitive types.
|
class |
JProgram
Root for the AST representing an entire Java program.
|
class |
JReboundEntryPoint
Represents a rebound entry point before deferred binding decisions are
finalized.
|
class |
JReferenceType
Base class for any reference type.
|
class |
JReturnStatement
Java method return statement.
|
class |
JRunAsync
Represents a GWT.runAsync() call.
|
class |
JSeedIdOf
An AST node whose evaluation results in the seedId of its node.
|
class |
JStatement
Java program statement.
|
class |
JStringLiteral
Java literal expression that evaluates to a string.
|
class |
JSwitchStatement
Java switch statement.
|
class |
JThisRef
Java method this expression.
|
class |
JThrowStatement
Java throw expression.
|
class |
JTryStatement
Java try statement.
|
class |
JType
Base class for any types entity.
|
class |
JUnaryOperation
Java prefix or postfix operation expression.
|
class |
JValueLiteral
Base class for any Java literal expression.
|
class |
JVariable
Base class for any storage location.
|
class |
JVariableRef
Base class for any reference to a
JVariable derived class. |
class |
JWhileStatement
Java while statement.
|
Modifier and Type | Field and Description |
---|---|
protected List<JNode> |
JDeclaredType.artificialRescues
The other nodes that this node should implicitly rescue.
|
Modifier and Type | Method and Description |
---|---|
<T extends JNode> |
JVisitor.accept(List<T> list) |
<T extends JNode> |
JModVisitor.accept(List<T> list) |
<T extends JNode> |
JVisitor.acceptImmutable(List<T> list) |
<T extends JNode> |
JModVisitor.acceptImmutable(List<T> list) |
<T extends JNode> |
JVisitor.acceptWithInsertRemove(List<T> list) |
<T extends JNode> |
JModVisitor.acceptWithInsertRemove(List<T> list) |
<T extends JNode> |
JVisitor.acceptWithInsertRemoveImmutable(List<T> list) |
<T extends JNode> |
JModVisitor.acceptWithInsertRemoveImmutable(List<T> list) |
Modifier and Type | Method and Description |
---|---|
JNode |
JVisitor.accept(JNode node) |
JNode |
JModVisitor.accept(JNode node) |
JNode |
JVisitor.accept(JNode node,
boolean allowRemove) |
JNode |
JModVisitor.accept(JNode node,
boolean allowRemove) |
Modifier and Type | Method and Description |
---|---|
List<JNode> |
JDeclaredType.getArtificialRescues() |
Modifier and Type | Method and Description |
---|---|
JNode |
JVisitor.accept(JNode node) |
JNode |
JModVisitor.accept(JNode node) |
JNode |
JVisitor.accept(JNode node,
boolean allowRemove) |
JNode |
JModVisitor.accept(JNode node,
boolean allowRemove) |
void |
JDeclaredType.addArtificialRescue(JNode node) |
protected static void |
JModVisitor.checkReplacement(JNode origNode,
JNode newNode) |
void |
JVisitor.endVisit(JNode x,
Context ctx) |
void |
Context.insertAfter(JNode node) |
void |
Context.insertBefore(JNode node) |
void |
Context.replaceMe(JNode node) |
protected static InternalCompilerException |
JVisitor.translateException(JNode node,
Throwable e) |
protected void |
JModVisitor.traverse(JNode node,
Context context) |
boolean |
JVisitor.visit(JNode x,
Context ctx) |
Modifier and Type | Method and Description |
---|---|
void |
JDeclaredType.resolve(List<JInterfaceType> resolvedInterfaces,
List<JNode> resolvedRescues)
Resolves external references during AST stitching.
|
Modifier and Type | Class and Description |
---|---|
class |
JDebuggerStatement
Represents a JavaScript debugger statement.
|
class |
JMultiExpression
Represents multiple ordered expressions as a single compound expression.
|
class |
JsCastMap
A low-level node representing a castable type map.
|
static class |
JsCastMap.JsQueryType
A low-level node representing a query type for cast/instanceof.
|
class |
JsniClassLiteral
JSNI reference to a Java class literal.
|
class |
JsniFieldRef
JSNI reference to a Java field.
|
class |
JsniMethodBody
Represents a the body of a method.
|
class |
JsniMethodRef
A call to a JSNI method.
|
class |
JsonArray
A JSON-style list of JS expressions.
|
class |
JsonObject
Represents a JS construct that should be emitted as a JSON-style object.
|
static class |
JsonObject.JsonPropInit
An individual property initializer within a JSON object initializer.
|
Modifier and Type | Method and Description |
---|---|
static JNode |
JsniRefLookup.findJsniRefTarget(JsniRef ref,
JProgram program,
JsniRefLookup.ErrorReporter errorReporter)
Deprecated.
Look up a JSNI reference.
|
Modifier and Type | Method and Description |
---|---|
Set<? extends JNode> |
ControlFlowAnalyzer.getLiveFieldsAndMethods()
Return all methods that could be executed, and all variables that could be
read, based on the given entry points so far.
|
Modifier and Type | Method and Description |
---|---|
void |
CompoundAssignmentNormalizer.accept(JNode node) |
static void |
ReboundTypeRecorder.exec(JNode node,
Set<JDeclaredType> reboundTypes)
Walks the AST from the provided node and records seen rebound types into the provided
reboundTypes set.
|
static OptimizerStats |
DeadCodeElimination.exec(JProgram program,
JNode node) |
Modifier and Type | Method and Description |
---|---|
protected void |
ToStringGenerationVisitor.visitCollectionWith(char[] ch,
Iterator<? extends JNode> iter) |
protected void |
ToStringGenerationVisitor.visitCollectionWithCommas(Iterator<? extends JNode> iter) |
Modifier and Type | Method and Description |
---|---|
static OptimizerStats |
DataflowOptimizer.exec(JProgram jprogram,
JNode node) |
Modifier and Type | Class and Description |
---|---|
class |
CfgConditionalNode<JNodeType extends JNode>
Base class for all conditional execution nodes.
|
class |
CfgGotoNode<JNodeType extends JNode>
Unconditional control transfer node.
|
class |
CfgNode<JNodeType extends JNode>
Base class for nodes in CFG graph.
|
class |
CfgSimpleNode<JNodeType extends JNode>
A node which doesn't transfer control flow after normal completion.
|
Constructor and Description |
---|
CfgNopNode(CfgNode<?> parent,
JNode node) |
CfgReadWriteNode(CfgNode<?> parent,
JNode node,
JExpression target,
JExpression value) |
CfgWriteNode(CfgNode<?> parent,
JNode node,
JExpression target,
JExpression value) |
Copyright © 2018. All rights reserved.