Package | Description |
---|---|
com.google.gwt.core.ext.soyc |
This package contains interfaces that provide access to
"Story of Your Compile" information.
|
com.google.gwt.core.ext.soyc.impl | |
com.google.gwt.dev.javac | |
com.google.gwt.dev.jjs | |
com.google.gwt.dev.jjs.ast | |
com.google.gwt.dev.jjs.ast.js | |
com.google.gwt.dev.jjs.impl | |
com.google.gwt.dev.js | |
com.google.gwt.dev.js.ast |
Modifier and Type | Method and Description |
---|---|
static List<SyntheticArtifact> |
SourceMapRecorder.makeSourceMapArtifacts(List<Map<Range,SourceInfo>> sourceInfoMaps,
int permutationId) |
static void |
SourceMapRecorder.recordSourceMap(List<Map<Range,SourceInfo>> sourceInfoMaps,
List<SyntheticArtifact> artifacts,
int permutationId) |
Modifier and Type | Method and Description |
---|---|
static void |
StoryRecorder.recordStories(TreeLogger logger,
OutputStream out,
List<Map<Range,SourceInfo>> sourceInfoMaps,
String[] js)
Used to record dependencies of a program.
|
protected void |
StoryRecorder.recordStoriesImpl(TreeLogger logger,
OutputStream out,
List<Map<Range,SourceInfo>> sourceInfoMaps,
String[] js) |
Modifier and Type | Method and Description |
---|---|
static JsFunction |
JsniCollector.parseJsniFunction(org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration method,
String unitSource,
String enclosingType,
SourceInfo baseInfo,
JsScope scope) |
static void |
GWTProblem.recordError(SourceInfo info,
int startColumn,
org.eclipse.jdt.internal.compiler.CompilationResult compResult,
String message,
TreeLogger.HelpInfo helpInfo) |
static void |
GWTProblem.recordProblem(SourceInfo info,
int startColumn,
org.eclipse.jdt.internal.compiler.CompilationResult compResult,
String message,
TreeLogger.HelpInfo helpInfo,
int problemSeverity) |
static void |
JsniCollector.reportJsniError(SourceInfo info,
org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration method,
String msg) |
static void |
JsniCollector.reportJsniWarning(SourceInfo info,
org.eclipse.jdt.internal.compiler.ast.MethodDeclaration method,
String msg) |
Modifier and Type | Class and Description |
---|---|
class |
SourceInfoCorrelation
Tracks file and line information for AST nodes.
|
class |
SourceOrigin
Describes where a SourceInfo's node came from.
|
Modifier and Type | Method and Description |
---|---|
SourceInfo |
InternalCompilerException.NodeInfo.getSourceInfo()
Returns the node's source info, if available; otherwise
null . |
SourceInfo |
HasSourceInfo.getSourceInfo()
Return the source info associated with this object.
|
SourceInfo |
SourceInfoCorrelation.makeChild() |
SourceInfo |
SourceInfo.makeChild()
Create a child node of the same type and Origin as this node.
|
SourceInfo |
SourceOrigin.makeChild() |
SourceInfo |
SourceInfoCorrelation.makeChild(SourceOrigin origin) |
SourceInfo |
SourceInfo.makeChild(SourceOrigin origin)
Create a child node of the same type as this node, but with a new Origin.
|
SourceInfo |
SourceOrigin.makeChild(SourceOrigin origin) |
abstract SourceInfo |
CorrelationFactory.makeSourceInfo(SourceOrigin origin) |
SourceInfo |
CorrelationFactory.DummyCorrelationFactory.makeSourceInfo(SourceOrigin origin) |
SourceInfo |
CorrelationFactory.RealCorrelationFactory.makeSourceInfo(SourceOrigin origin) |
Modifier and Type | Method and Description |
---|---|
void |
InternalCompilerException.addNode(String className,
String description,
SourceInfo sourceInfo)
Adds information about a a node to the end of the node trace.
|
Modifier and Type | Method and Description |
---|---|
SourceInfo |
JNode.getSourceInfo() |
Modifier and Type | Method and Description |
---|---|
static JParameter |
JParameter.create(SourceInfo info,
String name,
JType type,
boolean isFinal,
boolean isThis,
JMethod enclosingMethod) |
static JExpressionStatement |
JProgram.createAssignmentStmt(SourceInfo info,
JExpression lhs,
JExpression rhs)
Helper to create an assignment, used to initalize fields, etc.
|
static JNewArray |
JNewArray.createDims(SourceInfo info,
JArrayType arrayType,
List<JExpression> dims) |
static JNewArray |
JNewArray.createInitializers(SourceInfo info,
JArrayType arrayType,
List<JExpression> initializers) |
static JExpression |
JGwtCreate.createInstantiationExpression(SourceInfo info,
JClassType classType,
JDeclaredType enclosingType) |
static JLocal |
JProgram.createLocal(SourceInfo info,
String name,
JType type,
boolean isFinal,
JMethodBody enclosingMethodBody) |
static JParameter |
JProgram.createParameter(SourceInfo info,
String name,
JType type,
boolean isFinal,
boolean isThis,
JMethod enclosingMethod) |
JStringLiteral |
JProgram.getLiteralString(SourceInfo sourceInfo,
char[] s) |
JStringLiteral |
JProgram.getLiteralString(SourceInfo sourceInfo,
String s) |
void |
JNode.setSourceInfo(SourceInfo info) |
Constructor and Description |
---|
JAbstractMethodBody(SourceInfo info) |
JArrayLength(SourceInfo info,
JExpression instance) |
JArrayRef(SourceInfo info,
JExpression instance,
JExpression indexExpr) |
JAssertStatement(SourceInfo info,
JExpression testExpr,
JExpression arg) |
JBinaryOperation(SourceInfo info,
JType type,
JBinaryOperator op,
JExpression lhs,
JExpression rhs) |
JBlock(SourceInfo info) |
JBreakStatement(SourceInfo info,
JLabel label) |
JCaseStatement(SourceInfo info,
JLiteral expr) |
JCastOperation(SourceInfo info,
JType castType,
JExpression expr) |
JCharLiteral(SourceInfo sourceInfo,
char value) |
JClassLiteral(SourceInfo sourceInfo,
JType type) |
JClassType(SourceInfo info,
String name,
boolean isAbstract,
boolean isFinal) |
JConditional(SourceInfo info,
JType type,
JExpression ifTest,
JExpression thenExpr,
JExpression elseExpr) |
JConstructor(SourceInfo info,
JClassType enclosingType) |
JContinueStatement(SourceInfo info,
JLabel label) |
JDeclarationStatement(SourceInfo info,
JVariableRef variableRef,
JExpression intializer) |
JDeclaredType(SourceInfo info,
String name) |
JDoStatement(SourceInfo info,
JExpression testExpr,
JStatement body) |
JDoubleLiteral(SourceInfo sourceInfo,
double value) |
JEnumField(SourceInfo info,
String name,
int ordinal,
JEnumType enclosingType,
JClassType type) |
JEnumType(SourceInfo info,
String name,
boolean isAbstract) |
JExpression(SourceInfo info) |
JField(SourceInfo info,
String name,
JDeclaredType enclosingType,
JType type,
boolean isStatic,
JField.Disposition disposition) |
JFieldRef(SourceInfo info,
JExpression instance,
JField field,
JDeclaredType enclosingType) |
JFieldRef(SourceInfo info,
JExpression instance,
JField field,
JDeclaredType enclosingType,
JType overriddenType) |
JFloatLiteral(SourceInfo sourceInfo,
float value) |
JForStatement(SourceInfo info,
List<JStatement> initializers,
JExpression condition,
JExpression increments,
JStatement body)
Creates an AST node that represents a Java for statement.
|
JGwtCreate(SourceInfo info,
JReferenceType sourceType,
Collection<JClassType> resultTypes,
JType type,
JDeclaredType enclosingType)
Public constructor used during AST creation.
|
JGwtCreate(SourceInfo info,
String sourceType,
List<String> resultTypes,
JType type,
ArrayList<JExpression> instantiationExpressions)
Constructor used for cloning an existing node.
|
JIfStatement(SourceInfo info,
JExpression ifExpr,
JStatement thenStmt,
JStatement elseStmt) |
JInstanceOf(SourceInfo info,
JReferenceType testType,
JExpression expression) |
JInterfaceType(SourceInfo info,
String name) |
JIntLiteral(SourceInfo sourceInfo,
int value) |
JLabel(SourceInfo info,
String name) |
JLabeledStatement(SourceInfo info,
JLabel label,
JStatement body) |
JLiteral(SourceInfo sourceInfo) |
JLocalRef(SourceInfo info,
JLocal local) |
JLongLiteral(SourceInfo sourceInfo,
long value) |
JMethod(SourceInfo info,
String name,
JDeclaredType enclosingType,
JType returnType,
boolean isAbstract,
boolean isStatic,
boolean isFinal,
AccessModifier access)
These are only supposed to be constructed by JProgram.
|
JMethodBody(SourceInfo info) |
JMethodCall(SourceInfo info,
JExpression instance,
JMethod method) |
JMethodCall(SourceInfo info,
JExpression instance,
JMethod method,
JType overrideReturnType)
Create a method call whose type is overridden to the specified type,
ignoring the return type of the target method.
|
JNameOf(SourceInfo info,
JClassType stringType,
HasName node) |
JNewArray(SourceInfo info,
JArrayType type,
List<JExpression> dims,
List<JExpression> initializers,
List<JClassLiteral> classLits) |
JNewInstance(SourceInfo info,
JConstructor ctor,
JDeclaredType enclosingType) |
JNode(SourceInfo info) |
JNumericEntry(SourceInfo info,
String key,
int value) |
JParameter(SourceInfo info,
String name,
JType type,
boolean isFinal,
boolean isThis,
JMethod enclosingMethod) |
JParameterRef(SourceInfo info,
JParameter param) |
JPostfixOperation(SourceInfo info,
JUnaryOperator op,
JExpression arg) |
JPrefixOperation(SourceInfo info,
JUnaryOperator op,
JExpression arg) |
JReboundEntryPoint(SourceInfo info,
JReferenceType sourceType,
List<JClassType> resultTypes,
List<JExpression> entryCalls) |
JReferenceType(SourceInfo info,
String name) |
JReturnStatement(SourceInfo info,
JExpression expr) |
JRunAsync(SourceInfo info,
int runAsyncId,
String name,
boolean explicitClassLiteral,
JExpression runAsyncCall,
JExpression onSuccessCall)
Constructs a runAsync call node; explicitClassLiteral is set if the corresponding
GWT.runAsync() call has a class literal.
|
JSeedIdOf(SourceInfo info,
JClassType stringType,
HasName node) |
JStatement(SourceInfo info) |
JStringLiteral(SourceInfo sourceInfo,
String value,
JClassType stringType) |
JSwitchStatement(SourceInfo info,
JExpression expr,
JBlock body) |
JThisRef(SourceInfo info,
JClassType type) |
JThrowStatement(SourceInfo info,
JExpression expr) |
JTryStatement(SourceInfo info,
JBlock tryBlock,
List<JTryStatement.CatchClause> catchClauses,
JBlock finallyBlock)
Construct a Java try statement.
|
JType(SourceInfo info,
String name)
Base type for AST type definitions.
|
JUnaryOperation(SourceInfo info,
JUnaryOperator op,
JExpression arg) |
JValueLiteral(SourceInfo sourceInfo) |
JVariableRef(SourceInfo info,
JVariable target) |
JWhileStatement(SourceInfo info,
JExpression testExpr,
JStatement body) |
Constructor and Description |
---|
JDebuggerStatement(SourceInfo info) |
JMultiExpression(SourceInfo info)
Construct an empty multi expression.
|
JMultiExpression(SourceInfo info,
List<JExpression> expressions)
Construct a multi expression containing
expressions . |
JsCastMap(SourceInfo sourceInfo,
List<JsCastMap.JsQueryType> queryTypes,
JClassType jsoType) |
JsniClassLiteral(SourceInfo info,
String ident,
JType type) |
JsniFieldRef(SourceInfo info,
String ident,
JField field,
JDeclaredType enclosingType,
boolean isLvalue) |
JsniMethodBody(SourceInfo info) |
JsniMethodRef(SourceInfo info,
String ident,
JMethod method,
JClassType jsoType) |
JsonArray(SourceInfo sourceInfo,
JClassType jsoType) |
JsonObject(SourceInfo sourceInfo,
JClassType jsoType) |
JsonPropInit(SourceInfo sourceInfo,
JExpression labelExpr,
JExpression valueExpr) |
JsQueryType(SourceInfo sourceInfo,
JType queryType,
int queryId) |
Modifier and Type | Field and Description |
---|---|
protected Map<Range,SourceInfo> |
JsAbstractTextTransformer.sourceInfoMap |
Modifier and Type | Method and Description |
---|---|
Map<Range,SourceInfo> |
JsAbstractTextTransformer.getSourceInfoMap() |
Modifier and Type | Method and Description |
---|---|
void |
EnumOrdinalizer.Tracker.addEnumNotOrdinalizedInfo(String enumName,
SourceInfo info) |
protected JLocal |
JModVisitorWithTemporaryVariableCreation.createTempLocal(SourceInfo info,
JType type) |
String |
EnumOrdinalizer.Tracker.getInfoString(SourceInfo info) |
protected String |
CompoundAssignmentNormalizer.newTemporaryLocalName(SourceInfo info,
JType type,
JMethodBody methodBody)
Gets a new temporary local variable name in
methodBody . |
protected abstract String |
JModVisitorWithTemporaryVariableCreation.newTemporaryLocalName(SourceInfo info,
JType type,
JMethodBody methodBody) |
protected void |
ImplicitUpcastAnalyzer.processImplicitUpcast(JType fromType,
JType destType,
SourceInfo info)
An overriding method will be called for each detected implicit upcast.
|
Constructor and Description |
---|
JsAbstractTextTransformer(String js,
StatementRanges statementRanges,
Map<Range,SourceInfo> sourceInfoMap) |
JsFunctionClusterer(String js,
StatementRanges statementRanges,
Map<Range,SourceInfo> sourceInfoMap) |
JsIEBlockTextTransformer(String js,
StatementRanges statementRanges,
Map<Range,SourceInfo> sourceInfoMap) |
Modifier and Type | Method and Description |
---|---|
Map<Range,SourceInfo> |
JsSourceGenerationVisitorWithSizeBreakdown.getSourceInfoMap() |
Map<Range,SourceInfo> |
JsReportGenerationVisitor.getSourceInfoMap() |
Modifier and Type | Method and Description |
---|---|
static List<JsStatement> |
JsParser.parse(SourceInfo rootSourceInfo,
JsScope scope,
Reader r) |
static void |
JsParser.parseInto(SourceInfo rootSourceInfo,
JsScope scope,
JsBlock block,
Reader r) |
Modifier and Type | Method and Description |
---|---|
SourceInfo |
JsProgram.createSourceInfo(int startPos,
int endPos,
int startLine,
String fileName) |
SourceInfo |
JsProgram.createSourceInfo(int lineNumber,
String location) |
SourceInfo |
JsProgram.createSourceInfoSynthetic(Class<?> caller) |
SourceInfo |
JsNode.getSourceInfo() |
Modifier and Type | Method and Description |
---|---|
JsNameRef |
JsName.makeRef(SourceInfo sourceInfo) |
void |
JsNode.setSourceInfo(SourceInfo info) |
Copyright © 2018. All rights reserved.