Package | Description |
---|---|
com.google.gwt.dev.js | |
com.google.gwt.dev.js.ast |
Modifier and Type | Method and Description |
---|---|
static boolean |
JsLiteralInterner.exec(JsProgram program,
JsBlock block,
JsScope scope,
boolean alwaysIntern)
Intern literals that occur within a JsBlock.
|
static void |
JsParser.parseInto(SourceInfo rootSourceInfo,
JsScope scope,
JsBlock block,
Reader r) |
protected void |
JsToStringGenerationVisitor.printJsBlock(JsBlock x,
boolean truncate,
boolean finalNewline) |
boolean |
JsSourceGenerationVisitor.visit(JsBlock x,
JsContext ctx) |
boolean |
JsToStringGenerationVisitor.visit(JsBlock x,
JsContext ctx) |
boolean |
JsRequiresSemiVisitor.visit(JsBlock x,
JsContext ctx) |
boolean |
DuplicateClinitRemover.visit(JsBlock x,
JsContext ctx)
Most of the branching statements (as well as JsFunctions) will visit with
a JsBlock, so we don't need to explicitly enumerate all JsStatement
subtypes.
|
boolean |
EvalFunctionsAtTopScope.visit(JsBlock x,
JsContext ctx) |
Modifier and Type | Class and Description |
---|---|
class |
JsGlobalBlock
Represnts a JavaScript block in the global scope.
|
Modifier and Type | Field and Description |
---|---|
protected JsBlock |
JsFunction.body |
Modifier and Type | Method and Description |
---|---|
JsBlock |
JsFunction.getBody() |
JsBlock |
JsCatch.getBody() |
JsBlock |
JsTry.getFinallyBlock() |
JsBlock |
JsProgram.getFragmentBlock(int fragment) |
JsBlock |
JsProgram.getGlobalBlock()
Gets the one and only global block.
|
JsBlock |
JsProgramFragment.getGlobalBlock() |
JsBlock |
JsTry.getTryBlock() |
Modifier and Type | Method and Description |
---|---|
void |
JsSuperVisitor.endVisit(JsBlock x,
JsContext ctx) |
void |
JsVisitor.endVisit(JsBlock x,
JsContext ctx) |
void |
JsFunction.setBody(JsBlock body) |
void |
JsCatch.setBody(JsBlock body) |
void |
JsTry.setFinallyBlock(JsBlock block) |
void |
JsTry.setTryBlock(JsBlock block) |
boolean |
JsSuperVisitor.visit(JsBlock x,
JsContext ctx) |
boolean |
JsVisitor.visit(JsBlock x,
JsContext ctx) |
Copyright © 2018. All rights reserved.