Package | Description |
---|---|
com.google.gwt.dev.jjs.impl | |
com.google.gwt.dev.js | |
com.google.gwt.dev.js.ast |
Modifier and Type | Method and Description |
---|---|
static Pair<JavaToJavaScriptMap,Set<JsNode>> |
GenerateJavaScriptAST.exec(TreeLogger logger,
JProgram program,
JsProgram jsProgram,
CompilerContext compilerContext,
ResolveRuntimeTypeReferences.TypeMapper<?> typeMapper,
Map<StandardSymbolData,JsName> symbolTable,
PermutationProperties props)
This is the main entry point for the translation from Java to JavaScript.
|
Modifier and Type | Method and Description |
---|---|
static OptimizerStats |
JsInliner.exec(JsProgram program,
Collection<JsNode> toInline)
Static entry point used by JavaToJavaScriptCompiler.
|
Modifier and Type | Class and Description |
---|---|
class |
JsArrayAccess
Represents a javascript expression for array access.
|
class |
JsArrayLiteral
Represents a JavaScript expression for array literals.
|
class |
JsBinaryOperation
Represents a JavaScript binary operation.
|
class |
JsBlock
Represents a JavaScript block statement.
|
class |
JsBooleanLiteral
Represents a JavaScript literal boolean expression.
|
class |
JsBreak
Represents the JavaScript break statement.
|
class |
JsCase
Represents the JavaScript case statement.
|
class |
JsCatch
Represents a JavaScript catch clause.
|
class |
JsConditional
Represents a JavaScript conditional expression.
|
class |
JsContinue
Represents the JavaScript continue statement.
|
class |
JsDebugger
Represents a JavaScript debugger statement.
|
class |
JsDefault
Represents the default option in a JavaScript swtich statement.
|
class |
JsDoWhile
Represents a JavaScript do..while statement.
|
class |
JsEmpty
Represents an empty statement in JavaScript.
|
class |
JsExpression
An abstract base class for all JavaScript expressions.
|
class |
JsExprStmt
Represents a JavaScript expression statement.
|
class |
JsFor
A
for statement. |
class |
JsForIn
Represents a JavaScript for..in statement.
|
class |
JsFunction
Represents a JavaScript function expression.
|
class |
JsGlobalBlock
Represnts a JavaScript block in the global scope.
|
class |
JsIf
Represents a JavaScript if statement.
|
class |
JsInvocation
Represents a JavaScript invocation.
|
class |
JsLabel
Represents a JavaScript label statement.
|
class |
JsLiteral
A JavaScript string literal expression.
|
class |
JsNameOf
An AST node whose evaluation results in the string name of its node.
|
class |
JsNameRef
Represents a JavaScript expression that references a name.
|
class |
JsNew
Represents the JavaScript new expression.
|
class |
JsNullLiteral
A JavaScript null literal.
|
class |
JsNumberLiteral
Represents a JavaScript literal decimal expression.
|
class |
JsNumericEntry
Represent an index that can be replacable by the compiler at compile time.
|
class |
JsObjectLiteral
A JavaScript object literal.
|
class |
JsParameter
A JavaScript parameter.
|
class |
JsPositionMarker
Represents the starting boundary for statements that make up one class.
|
class |
JsPostfixOperation
A JavaScript postfix operation.
|
class |
JsPrefixOperation
A JavaScript prefix operation.
|
class |
JsProgram
A JavaScript program.
|
class |
JsProgramFragment
One independently loadable fragment of a
JsProgram . |
class |
JsPropertyInitializer
Used in object literals to specify property values by name.
|
class |
JsRegExp
A JavaScript regular expression.
|
class |
JsReturn
A JavaScript return statement.
|
class |
JsStatement
Abstract base class for JavaScript statement objects.
|
class |
JsStringLiteral
A JavaScript string literal expression.
|
class |
JsSwitch
A JavaScript switch statement.
|
class |
JsSwitchMember
A member/case in a JavaScript switch object.
|
class |
JsThisRef
A JavaScript
this reference. |
class |
JsThrow
A JavaScript
throw statement. |
class |
JsTry
A JavaScript
try statement. |
class |
JsUnaryOperation
A JavaScript prefix or postfix operation.
|
class |
JsValueLiteral
A JavaScript string literal expression.
|
class |
JsVars
A JavaScript
var statement. |
static class |
JsVars.JsVar
A var declared using the JavaScript
var statement. |
class |
JsWhile
A JavaScript
while statement. |
Modifier and Type | Method and Description |
---|---|
JsNode |
JsName.getStaticRef() |
Modifier and Type | Method and Description |
---|---|
void |
JsSuperVisitor.endVisit(JsNode x,
JsContext ctx) |
void |
JsRootName.setStaticRef(JsNode node) |
void |
JsName.setStaticRef(JsNode node)
Should never be called except on immutable stuff.
|
boolean |
JsSuperVisitor.visit(JsNode x,
JsContext ctx) |
Copyright © 2018. All rights reserved.