Package | Description |
---|---|
com.google.gwt.dev.js | |
com.google.gwt.dev.js.ast |
Modifier and Type | Field and Description |
---|---|
protected Stack<JsExpression> |
JsHoister.Cloner.stack |
Modifier and Type | Method and Description |
---|---|
protected static JsExpression |
JsStaticEval.extractExpression(JsStatement stmt)
Attempts to extract a single expression from a given statement and returns
it.
|
JsExpression |
JsHoister.Cloner.getExpression() |
static JsExpression |
JsHoister.hoist(JsExpression expression)
Given a JsStatement, construct an expression to hoist into the outer
caller.
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
CoverageVisitor.endVisit(JsExpression x,
JsContext ctx) |
static boolean |
JsConstructExpressionVisitor.exec(JsExpression expression) |
static JsExpression |
JsHoister.hoist(JsExpression expression)
Given a JsStatement, construct an expression to hoist into the outer
caller.
|
protected static void |
JsStaticEval.shortCircuitAnd(JsExpression arg1,
JsExpression arg2,
JsContext ctx)
Simplify short circuit AND expressions.
|
protected static void |
JsStaticEval.shortCircuitOr(JsExpression arg1,
JsExpression arg2,
JsContext ctx)
Simplify short circuit OR expressions.
|
protected static void |
JsStaticEval.trySimplifyComma(JsExpression arg1,
JsExpression arg2,
JsContext ctx) |
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 |
JsBooleanLiteral
Represents a JavaScript literal boolean expression.
|
class |
JsConditional
Represents a JavaScript conditional expression.
|
class |
JsFunction
Represents a JavaScript function expression.
|
class |
JsInvocation
Represents a JavaScript invocation.
|
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 |
JsPostfixOperation
A JavaScript postfix operation.
|
class |
JsPrefixOperation
A JavaScript prefix operation.
|
class |
JsRegExp
A JavaScript regular expression.
|
class |
JsSeedIdOf
An AST node whose evaluation results in the numeric seed id of its type.
|
class |
JsStringLiteral
A JavaScript string literal expression.
|
class |
JsThisRef
A JavaScript
this reference. |
class |
JsUnaryOperation
A JavaScript prefix or postfix operation.
|
class |
JsValueLiteral
A JavaScript string literal expression.
|
Modifier and Type | Method and Description |
---|---|
List<JsExpression> |
JsNew.getArguments() |
List<JsExpression> |
JsInvocation.getArguments() |
List<JsExpression> |
HasArguments.getArguments() |
List<JsExpression> |
JsArrayLiteral.getExpressions() |
Modifier and Type | Method and Description |
---|---|
JsExpression |
JsVisitor.acceptLvalue(JsExpression expr) |
protected JsExpression |
JsVisitor.doAcceptLvalue(JsExpression expr) |
protected JsExpression |
JsModVisitor.doAcceptLvalue(JsExpression expr) |
void |
JsSuperVisitor.endVisit(JsExpression x,
JsContext ctx) |
void |
JsUnaryOperation.setArg(JsExpression arg) |
void |
JsBinaryOperation.setArg1(JsExpression arg1) |
void |
JsBinaryOperation.setArg2(JsExpression arg2) |
void |
JsArrayAccess.setArrayExpr(JsExpression arrayExpr) |
void |
JsCase.setCaseExpr(JsExpression caseExpr) |
void |
JsFor.setCondition(JsExpression condition) |
void |
JsDoWhile.setCondition(JsExpression condition) |
void |
HasCondition.setCondition(JsExpression condition) |
void |
JsCatch.setCondition(JsExpression condition) |
void |
JsWhile.setCondition(JsExpression condition) |
void |
JsConditional.setElseExpression(JsExpression elseExpr) |
void |
JsReturn.setExpr(JsExpression expr) |
void |
JsThrow.setExpr(JsExpression expr) |
void |
JsSwitch.setExpr(JsExpression expr) |
void |
JsIf.setIfExpr(JsExpression ifExpr) |
void |
JsFor.setIncrExpr(JsExpression incrExpr) |
void |
JsArrayAccess.setIndexExpr(JsExpression indexExpr) |
void |
JsVars.JsVar.setInitExpr(JsExpression initExpr) |
void |
JsFor.setInitExpr(JsExpression initExpr) |
void |
JsForIn.setIterExpr(JsExpression iterExpr) |
void |
JsPropertyInitializer.setLabelExpr(JsExpression labelExpr) |
void |
JsForIn.setObjExpr(JsExpression objExpr) |
void |
JsNameRef.setQualifier(JsExpression qualifier) |
void |
JsInvocation.setQualifier(JsExpression qualifier) |
void |
JsConditional.setTestExpression(JsExpression testExpr) |
void |
JsConditional.setThenExpression(JsExpression thenExpr) |
void |
JsPropertyInitializer.setValueExpr(JsExpression valueExpr) |
boolean |
JsSuperVisitor.visit(JsExpression x,
JsContext ctx) |
Copyright © 2018. All rights reserved.