Package | Description |
---|---|
com.google.gwt.dev.jjs.impl | |
com.google.gwt.dev.jjs.impl.codesplitter | |
com.google.gwt.dev.js | |
com.google.gwt.dev.js.ast |
Modifier and Type | Method and Description |
---|---|
JClassType |
JavaToJavaScriptMapImpl.typeForStatement(JsStatement stat) |
JClassType |
JavaToJavaScriptMap.typeForStatement(JsStatement stat)
If
stat is used to set up the definition of some class, return
that class. |
JMethod |
JavaToJavaScriptMapImpl.vtableInitToMethod(JsStatement stat) |
JMethod |
JavaToJavaScriptMap.vtableInitToMethod(JsStatement stat)
If
stat is used to set up a vtable entry for a method, then
return that method. |
Constructor and Description |
---|
JavaToJavaScriptMapImpl(List<JDeclaredType> types,
Map<HasName,JsName> names,
Map<JsStatement,JClassType> typeForStatement,
Map<JsStatement,JMethod> vtableInitForMethod) |
JavaToJavaScriptMapImpl(List<JDeclaredType> types,
Map<HasName,JsName> names,
Map<JsStatement,JClassType> typeForStatement,
Map<JsStatement,JMethod> vtableInitForMethod) |
Modifier and Type | Method and Description |
---|---|
List<JsStatement> |
FragmentExtractor.createOnLoadedCall(int fragmentId)
Create a call to
AsyncFragmentLoader#onLoad . |
List<JsStatement> |
FragmentExtractor.extractStatements(LivenessPredicate livenessPredicate,
LivenessPredicate alreadyLoadedPredicate)
Assume that all code described by
alreadyLoadedPredicate has
been downloaded. |
Modifier and Type | Method and Description |
---|---|
void |
FragmentExtractor.StatementLogger.log(JsStatement statement,
boolean include) |
static JMethod |
FragmentExtractor.methodFor(JsStatement stat,
JavaToJavaScriptMap map)
Return the Java method corresponding to
stat , or
null if there isn't one. |
Modifier and Type | Method and Description |
---|---|
static List<JsStatement> |
JsParser.parse(SourceInfo rootSourceInfo,
JsScope scope,
Reader r) |
Modifier and Type | Method and Description |
---|---|
static boolean |
JsRequiresSemiVisitor.exec(JsStatement lastStatement) |
protected static JsExpression |
JsStaticEval.extractExpression(JsStatement stmt)
Attempts to extract a single expression from a given statement and returns
it.
|
protected static boolean |
JsStaticEval.isEmpty(JsStatement stmt) |
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 | Class and Description |
---|---|
class |
JsBlock
Represents a JavaScript block statement.
|
class |
JsBreak
Represents the JavaScript break statement.
|
class |
JsContinue
Represents the JavaScript continue statement.
|
class |
JsDebugger
Represents a JavaScript debugger statement.
|
class |
JsDoWhile
Represents a JavaScript do..while statement.
|
class |
JsEmpty
Represents an empty statement in JavaScript.
|
class |
JsExprStmt
Represents a JavaScript expression statement.
|
class |
JsFor
A
for statement. |
class |
JsForIn
Represents a JavaScript for..in statement.
|
class |
JsGlobalBlock
Represnts a JavaScript block in the global scope.
|
class |
JsIf
Represents a JavaScript if statement.
|
class |
JsLabel
Represents a JavaScript label statement.
|
class |
JsPositionMarker
Represents the starting boundary for statements that make up one class.
|
class |
JsReturn
A JavaScript return statement.
|
class |
JsSwitch
A JavaScript switch statement.
|
class |
JsThrow
A JavaScript
throw statement. |
class |
JsTry
A JavaScript
try statement. |
class |
JsVars
A JavaScript
var statement. |
class |
JsWhile
A JavaScript
while statement. |
Modifier and Type | Field and Description |
---|---|
protected List<JsStatement> |
JsSwitchMember.stmts |
Modifier and Type | Method and Description |
---|---|
JsStatement |
JsForIn.getBody() |
JsStatement |
JsFor.getBody() |
JsStatement |
JsDoWhile.getBody() |
JsStatement |
JsWhile.getBody() |
JsStatement |
JsIf.getElseStmt() |
JsStatement |
JsLabel.getStmt() |
JsStatement |
JsIf.getThenStmt() |
Modifier and Type | Method and Description |
---|---|
List<JsStatement> |
JsBlock.getStatements() |
List<JsStatement> |
JsSwitchMember.getStmts() |
Modifier and Type | Method and Description |
---|---|
void |
JsSuperVisitor.endVisit(JsStatement x,
JsContext ctx) |
void |
JsForIn.setBody(JsStatement body) |
void |
JsFor.setBody(JsStatement body) |
void |
JsDoWhile.setBody(JsStatement body) |
void |
JsWhile.setBody(JsStatement body) |
void |
JsIf.setElseStmt(JsStatement elseStmt) |
void |
JsLabel.setStmt(JsStatement stmt) |
void |
JsIf.setThenStmt(JsStatement thenStmt) |
boolean |
JsSuperVisitor.visit(JsStatement x,
JsContext ctx) |
Constructor and Description |
---|
JsDoWhile(SourceInfo sourceInfo,
JsExpression condition,
JsStatement body) |
JsIf(SourceInfo sourceInfo,
JsExpression ifExpr,
JsStatement thenStmt,
JsStatement elseStmt) |
JsWhile(SourceInfo sourceInfo,
JsExpression condition,
JsStatement body) |
Copyright © 2018. All rights reserved.