Package | Description |
---|---|
com.google.gwt.dev.jjs.ast | |
com.google.gwt.dev.jjs.ast.js | |
com.google.gwt.dev.jjs.impl |
Modifier and Type | Class and Description |
---|---|
class |
JModVisitor
A visitor for iterating through and modifying an AST.
|
Modifier and Type | Method and Description |
---|---|
protected void |
JMethod.traceAfter(JVisitor visitor,
String before) |
protected String |
JMethod.traceBefore(JVisitor visitor) |
void |
JIfStatement.traverse(JVisitor visitor,
Context ctx) |
void |
JNullType.traverse(JVisitor visitor,
Context ctx) |
void |
JDoStatement.traverse(JVisitor visitor,
Context ctx) |
void |
JInstanceOf.traverse(JVisitor visitor,
Context ctx) |
void |
JSeedIdOf.traverse(JVisitor visitor,
Context ctx) |
void |
JNameOf.traverse(JVisitor visitor,
Context ctx) |
void |
JLocalRef.traverse(JVisitor visitor,
Context ctx) |
void |
JConditional.traverse(JVisitor visitor,
Context ctx) |
void |
JThisRef.traverse(JVisitor visitor,
Context ctx) |
void |
JAbsentArrayDimension.traverse(JVisitor visitor,
Context ctx) |
void |
JSwitchStatement.traverse(JVisitor visitor,
Context ctx) |
void |
JNumericEntry.traverse(JVisitor visitor,
Context ctx) |
void |
JContinueStatement.traverse(JVisitor visitor,
Context ctx) |
void |
JClassType.traverse(JVisitor visitor,
Context ctx) |
void |
JPrefixOperation.traverse(JVisitor visitor,
Context ctx) |
void |
JBinaryOperation.traverse(JVisitor visitor,
Context ctx) |
void |
JDoubleLiteral.traverse(JVisitor visitor,
Context ctx) |
void |
JCastOperation.traverse(JVisitor visitor,
Context ctx) |
void |
JConstructor.traverse(JVisitor visitor,
Context ctx) |
void |
JBlock.traverse(JVisitor visitor,
Context ctx) |
void |
JParameter.traverse(JVisitor visitor,
Context ctx) |
void |
JWhileStatement.traverse(JVisitor visitor,
Context ctx) |
void |
JPostfixOperation.traverse(JVisitor visitor,
Context ctx) |
void |
JCharLiteral.traverse(JVisitor visitor,
Context ctx) |
void |
JTryStatement.traverse(JVisitor visitor,
Context ctx) |
void |
JReboundEntryPoint.traverse(JVisitor visitor,
Context ctx) |
void |
JArrayRef.traverse(JVisitor visitor,
Context ctx) |
void |
JCaseStatement.traverse(JVisitor visitor,
Context ctx) |
void |
JProgram.traverse(JVisitor visitor,
Context ctx) |
void |
JLabel.traverse(JVisitor visitor,
Context ctx) |
void |
JLocal.traverse(JVisitor visitor,
Context ctx) |
void |
JArrayType.traverse(JVisitor visitor,
Context ctx) |
void |
JField.traverse(JVisitor visitor,
Context ctx) |
void |
JVisitable.traverse(JVisitor visitor,
Context ctx)
Causes this object to have the visitor visit itself and its children.
|
void |
JMethodBody.traverse(JVisitor visitor,
Context ctx) |
void |
JMethodCall.traverse(JVisitor visitor,
Context ctx) |
void |
JUnaryOperation.traverse(JVisitor visitor,
Context ctx) |
void |
JNullLiteral.traverse(JVisitor visitor,
Context ctx) |
void |
JParameterRef.traverse(JVisitor visitor,
Context ctx) |
void |
JExpressionStatement.traverse(JVisitor visitor,
Context ctx) |
void |
JBooleanLiteral.traverse(JVisitor visitor,
Context ctx) |
void |
JFieldRef.traverse(JVisitor visitor,
Context ctx) |
void |
JAssertStatement.traverse(JVisitor visitor,
Context ctx) |
void |
JGwtCreate.traverse(JVisitor visitor,
Context ctx) |
void |
JInterfaceType.traverse(JVisitor visitor,
Context ctx) |
void |
JStringLiteral.traverse(JVisitor visitor,
Context ctx) |
void |
JArrayLength.traverse(JVisitor visitor,
Context ctx) |
void |
JLabeledStatement.traverse(JVisitor visitor,
Context ctx) |
void |
JFloatLiteral.traverse(JVisitor visitor,
Context ctx) |
void |
JIntLiteral.traverse(JVisitor visitor,
Context ctx) |
void |
JLongLiteral.traverse(JVisitor visitor,
Context ctx) |
void |
JNonNullType.traverse(JVisitor visitor,
Context ctx) |
void |
JForStatement.traverse(JVisitor visitor,
Context ctx) |
void |
JBreakStatement.traverse(JVisitor visitor,
Context ctx) |
void |
JReturnStatement.traverse(JVisitor visitor,
Context ctx) |
void |
JPrimitiveType.traverse(JVisitor visitor,
Context ctx) |
void |
JRunAsync.traverse(JVisitor visitor,
Context ctx) |
void |
JMethod.traverse(JVisitor visitor,
Context ctx) |
void |
JClassLiteral.traverse(JVisitor visitor,
Context ctx) |
void |
JNewInstance.traverse(JVisitor visitor,
Context ctx) |
void |
JThrowStatement.traverse(JVisitor visitor,
Context ctx) |
void |
JDeclarationStatement.traverse(JVisitor visitor,
Context ctx) |
void |
JNewArray.traverse(JVisitor visitor,
Context ctx) |
void |
JRunAsync.traverseOnSuccess(JVisitor visitor)
Explcitly traverse the onSuccessCall.
|
protected void |
JMethodCall.visitChildren(JVisitor visitor) |
protected void |
JMethod.visitChildren(JVisitor visitor) |
Modifier and Type | Method and Description |
---|---|
void |
JsniMethodRef.traverse(JVisitor visitor,
Context ctx) |
void |
JMultiExpression.traverse(JVisitor visitor,
Context ctx) |
void |
JsniFieldRef.traverse(JVisitor visitor,
Context ctx) |
void |
JsonArray.traverse(JVisitor visitor,
Context ctx) |
void |
JsniMethodBody.traverse(JVisitor visitor,
Context ctx) |
void |
JsCastMap.traverse(JVisitor visitor,
Context ctx) |
void |
JsCastMap.JsQueryType.traverse(JVisitor visitor,
Context ctx) |
void |
JsonObject.traverse(JVisitor visitor,
Context ctx) |
void |
JsonObject.JsonPropInit.traverse(JVisitor visitor,
Context ctx) |
void |
JDebuggerStatement.traverse(JVisitor visitor,
Context ctx) |
Modifier and Type | Class and Description |
---|---|
class |
CloneExpressionVisitor
A general purpose expression cloner.
|
class |
DeadCodeElimination.DeadCodeVisitor
Eliminates dead or unreachable code when possible, and makes local
simplifications like changing "
x || true " to "x ". |
static class |
DeadCodeElimination.FindBreakContinueStatementsVisitor
Examines code to find out whether it contains any break or continue
statements.
|
class |
ExpressionAnalyzer
Analyzes an expression and make a number of static analysis flags available
based on the information available solely through the expression.
|
class |
FixAssignmentsToUnboxOrCast
Most autoboxing is handled by
GenerateJavaAST . |
class |
GenerateJavaScriptLiterals
Translates Java literals into JavaScript literals.
|
class |
ImplicitUpcastAnalyzer
This class will identify instances of an implicit upcast between
non-primitive types, and call the overridable processImplicitUpcast method.
|
class |
JModVisitorWithTemporaryVariableCreation
A JModVisitor capable of creating temporary local variables and placing their declarations in an
appropriate preceding place.
|
class |
MethodCallTightener.MethodCallTighteningVisitor
Updates polymorphic method calls to tighter bindings based on the type of
the qualifier.
|
static class |
RemoveEmptySuperCalls.EmptySuperCallVisitor
Removes calls to no-op super constructors.
|
class |
SourceGenerationVisitor
Generates Java source from our AST.
|
class |
TextOutputVisitor
A convenience base class that combines a
JVisitor with a
TextOutput . |
class |
ToStringGenerationVisitor
Implements a reasonable toString() for all JNodes.
|
class |
TypeRemapper
A visitor that changes all JType references in the AST.
|
class |
TypeTightener.FixDanglingRefsVisitor
Replaces dangling null references with dummy calls.
|
class |
TypeTightener.RecordVisitor
Record "type flow" information.
|
class |
TypeTightener.TightenTypesVisitor
Wherever possible, use the type flow information recorded by RecordVisitor
to change the declared type of a field, local, parameter, or method to a
more specific type.
|
Copyright © 2018. All rights reserved.