Package | Description |
---|---|
com.google.gwt.dev.javac | |
com.google.gwt.dev.jjs.ast.js | |
com.google.gwt.dev.js | |
com.google.gwt.dev.js.ast |
Modifier and Type | Method and Description |
---|---|
abstract JsFunction |
JsniMethod.function()
If non-null, an anonymous function containing the parameters and body of
this JSNI method.
|
static JsFunction |
JsniMethodCollector.parseJsniFunction(org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration method,
String unitSource,
String enclosingType,
SourceInfo baseInfo,
JsScope scope) |
Modifier and Type | Method and Description |
---|---|
JsFunction |
JsniMethodBody.getFunc() |
Modifier and Type | Method and Description |
---|---|
void |
JsniMethodBody.setFunc(JsFunction jsFunction) |
Constructor and Description |
---|
JsniMethodBody(SourceInfo info,
JsFunction function,
List<JsniClassLiteral> classRefs,
List<JsniFieldRef> jsniFieldRefs,
List<JsniMethodRef> jsniMethodRefs,
Set<String> stringLiterals) |
Modifier and Type | Method and Description |
---|---|
static JsFunction |
JsUtils.createBridge(JMethod method,
JsName polyName,
JsScope scope) |
static JsFunction |
JsUtils.createEmptyFunctionLiteral(SourceInfo info,
JsScope scope,
JsName name) |
static JsFunction |
JsUtils.isExecuteOnce(JsInvocation invocation)
Given a JsInvocation, determine if it is invoking a JsFunction that is
specified to be executed only once during the program's lifetime.
|
static JsFunction |
JsUtils.isFunction(JsExpression e)
Given an expression, determine if it is a JsNameRef that refers to a
statically-defined JsFunction.
|
static JsFunction |
JsUtils.isFunctionDeclaration(JsStatement stmt)
If the statement is a JsExprStmt that declares a function with no other
side effects, returns that function; otherwise
null . |
Modifier and Type | Method and Description |
---|---|
void |
JsAbstractSymbolResolver.endVisit(JsFunction x,
JsContext ctx) |
void |
JsSafeCloner.Cloner.endVisit(JsFunction x,
JsContext ctx)
The only functions that would get be visited are those being used as
first-class objects.
|
void |
EvalFunctionsAtTopScope.endVisit(JsFunction x,
JsContext ctx) |
boolean |
JsFirstExpressionVisitor.visit(JsFunction x,
JsContext ctx) |
boolean |
JsConstructExpressionVisitor.visit(JsFunction x,
JsContext ctx)
Functions have their own scoping.
|
boolean |
JsToStringGenerationVisitor.visit(JsFunction x,
JsContext ctx) |
boolean |
JsAbstractSymbolResolver.visit(JsFunction x,
JsContext ctx) |
boolean |
EvalFunctionsAtTopScope.visit(JsFunction x,
JsContext ctx) |
Constructor and Description |
---|
DuplicateClinitRemover(JsProgram program,
Set<JsFunction> alreadyCalled) |
Modifier and Type | Method and Description |
---|---|
static JsFunction |
JsFunction.createSentinel()
Creates a dummy JsFunction object to be used as a sentinel.
|
JsFunction |
JsFunction.getSuperClinit() |
Modifier and Type | Method and Description |
---|---|
void |
JsSuperVisitor.endVisit(JsFunction x,
JsContext ctx) |
void |
JsVisitor.endVisit(JsFunction x,
JsContext ctx) |
void |
JsFunction.setSuperClinit(JsFunction superClinit) |
boolean |
JsSuperVisitor.visit(JsFunction x,
JsContext ctx) |
boolean |
JsVisitor.visit(JsFunction x,
JsContext ctx) |
Constructor and Description |
---|
JsInvocation(SourceInfo sourceInfo,
JsFunction function,
Iterable<JsExpression> args) |
JsInvocation(SourceInfo sourceInfo,
JsFunction function,
JsExpression... args) |
Copyright © 2018. All rights reserved.