Package | Description |
---|---|
com.google.gwt.core.ext.soyc |
This package contains interfaces that provide access to
"Story of Your Compile" information.
|
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 |
---|---|
SourceInfo |
Range.getSourceInfo() |
Constructor and Description |
---|
Range(int start,
int end,
int startLine,
int startColumn,
int endLine,
int endColumn,
SourceInfo sourceInfo)
A range whose start and end are specified both as character positions and as
line numbers and columns.
|
Range(int start,
int end,
SourceInfo sourceInfo)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static JsNameRef |
JsInteropUtil.convertQualifiedPrototypeToNameRef(SourceInfo sourceInfo,
String jsPrototype) |
static JsFunction |
JsniMethodCollector.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 |
JsniMethodCollector.reportJsniError(SourceInfo info,
org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration method,
String msg) |
static void |
JsniMethodCollector.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) |
JExpression |
JProgram.createArrayClassLiteralExpression(SourceInfo sourceInfo,
JClassLiteral leafTypeClassLiteral,
int dimensions)
Returns an expression that evaluates to an array class literal at runtime.
|
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.getStringLiteral(SourceInfo sourceInfo,
String s) |
void |
JNode.setSourceInfo(SourceInfo info) |
Constructor and Description |
---|
JDebuggerStatement(SourceInfo info) |
JMultiExpression(SourceInfo info,
Collection<JExpression> expressions)
Construct a multi expression containing
expressions . |
JMultiExpression(SourceInfo info,
JExpression... expressions)
Construct a multi expression containing
expressions if any. |
JsniClassLiteral(SourceInfo info,
JType type) |
JsniClassLiteral(SourceInfo info,
String ident,
JType type) |
JsniFieldRef(SourceInfo info,
String ident,
JField field,
JDeclaredType enclosingType,
boolean isLvalue) |
JsniMethodBody(SourceInfo info) |
JsniMethodBody(SourceInfo info,
JsFunction function,
List<JsniClassLiteral> classRefs,
List<JsniFieldRef> jsniFieldRefs,
List<JsniMethodRef> jsniMethodRefs,
Set<String> stringLiterals) |
JsniMethodRef(SourceInfo info,
String ident,
JMethod method,
JClassType jsoType) |
JsonArray(SourceInfo sourceInfo,
JClassType jsoType) |
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.
|
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 lineNumber,
String location) |
SourceInfo |
JsProgram.createSourceInfoSynthetic(Class<?> caller) |
SourceInfo |
JsNode.getSourceInfo() |
Modifier and Type | Method and Description |
---|---|
void |
JsObjectLiteral.addProperty(SourceInfo sourceInfo,
JsExpression label,
JsExpression value)
Adds a property and its initial value to the object literal.
|
JsNameRef |
JsName.makeRef(SourceInfo sourceInfo) |
void |
JsNode.setSourceInfo(SourceInfo info) |
Copyright © 2018. All rights reserved.