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.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.
|
protected static JsFunction |
JsStaticEval.isFunctionDecl(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 |
JsHoister.Cloner.endVisit(JsFunction x,
JsContext ctx)
The only functions that would get be visited are those being used as
first-class objects.
|
void |
JsAbstractSymbolResolver.endVisit(JsFunction x,
JsContext ctx) |
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 |
---|
DuplicateExecuteOnceRemover(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.getImpliedExecute() |
JsFunction |
JsProgram.getIndexedFunction(String name) |
Modifier and Type | Method and Description |
---|---|
void |
JsProgram.disallowInlining(JsFunction function) |
void |
JsSuperVisitor.endVisit(JsFunction x,
JsContext ctx) |
void |
JsVisitor.endVisit(JsFunction x,
JsContext ctx) |
boolean |
JsProgram.isIndexedFunction(JsFunction func) |
boolean |
JsProgram.isInliningAllowed(JsFunction function) |
void |
JsFunction.setImpliedExecute(JsFunction impliedExecute) |
boolean |
JsSuperVisitor.visit(JsFunction x,
JsContext ctx) |
boolean |
JsVisitor.visit(JsFunction x,
JsContext ctx) |
Modifier and Type | Method and Description |
---|---|
void |
JsProgram.setIndexedFunctions(Map<String,JsFunction> indexedFunctions) |
Constructor and Description |
---|
JsInvocation(SourceInfo sourceInfo,
JsFunction function,
Collection<JsExpression> args) |
JsInvocation(SourceInfo sourceInfo,
JsFunction function,
JsExpression... args) |
Copyright © 2018. All rights reserved.