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 |
---|---|
JMethod |
JavaToJavaScriptMapImpl.methodForStatement(JsStatement statement) |
JMethod |
JavaToJavaScriptMap.methodForStatement(JsStatement statement)
If
stat is used to set up the definion for some method implementation, then
return that method. |
JDeclaredType |
JavaToJavaScriptMapImpl.typeForStatement(JsStatement statement) |
JDeclaredType |
JavaToJavaScriptMap.typeForStatement(JsStatement statement)
If
statement is used to set up the definition of some type, return
that class. |
Constructor and Description |
---|
JavaToJavaScriptMapImpl(List<JDeclaredType> types,
Map<HasName,JsName> names,
Map<JsStatement,JDeclaredType> typeForStatement,
Map<JsStatement,JMethod> methodForStatement) |
JavaToJavaScriptMapImpl(List<JDeclaredType> types,
Map<HasName,JsName> names,
Map<JsStatement,JDeclaredType> typeForStatement,
Map<JsStatement,JMethod> methodForStatement) |
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) |
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) |
static JsExpression |
JsUtils.extractExpression(JsStatement stmt)
Attempts to extract a single expression from a given statement and returns
it.
|
static boolean |
JsUtils.isEmpty(JsStatement stmt) |
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 | 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.