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 |
---|---|
void |
JsInteropExportsGenerator.exportMember(JMember member,
JsExpression bridgeMethodOrAlias)
Exports a member to the namespace that is provided by its qualified export name.
|
Modifier and Type | Field and Description |
---|---|
protected Stack<JsExpression> |
JsSafeCloner.Cloner.stack |
Modifier and Type | Method and Description |
---|---|
static JsExpression |
JsSafeCloner.clone(JsExpression expression)
Given a JsStatement, construct an expression to clone into the outer
caller.
|
static JsExpression |
JsUtils.createApplyInvocation(SourceInfo sourceInfo,
com.google.gwt.dev.js.JsUtils.InvocationDescriptor invocationDescriptor) |
static JsExpression |
JsUtils.createAssignment(JsExpression lhs,
JsExpression rhs) |
static JsExpression |
JsUtils.createAssignment(SourceInfo info,
JsExpression lhs,
JsExpression rhs) |
static JsExpression |
JsUtils.createCallInvocationOrSuperPropertyAccess(SourceInfo sourceInfo,
com.google.gwt.dev.js.JsUtils.InvocationDescriptor invocationDescriptor) |
static JsExpression |
JsUtils.createCommaExpression(JsExpression... expressions) |
static JsExpression |
JsUtils.createDirectInvocationOrPropertyAccess(SourceInfo sourceInfo,
com.google.gwt.dev.js.JsUtils.InvocationDescriptor invocationDescriptor) |
static JsExpression |
JsUtils.createInvocationOrPropertyAccess(JsUtils.InvocationStyle invocationStyle,
SourceInfo sourceInfo,
JMethod method,
JsExpression instance,
JsNameRef reference,
List<JsExpression> args) |
static JsExpression |
JsUtils.createQualifiedNameRef(SourceInfo info,
JsExpression base,
String... names) |
static JsExpression |
JsUtils.extractExpression(JsStatement stmt)
Attempts to extract a single expression from a given statement and returns
it.
|
JsExpression |
JsSafeCloner.Cloner.getExpression() |
protected static JsExpression |
JsStaticEval.shortCircuitAnd(JsBinaryOperation expr)
Simplify short circuit AND expressions.
|
protected static JsExpression |
JsStaticEval.shortCircuitOr(JsBinaryOperation expr)
Simplify short circuit OR expressions.
|
protected static JsExpression |
JsStaticEval.trySimplifyComma(JsBinaryOperation expr) |
Modifier and Type | Method and Description |
---|---|
static JsExpression |
JsSafeCloner.clone(JsExpression expression)
Given a JsStatement, construct an expression to clone into the outer
caller.
|
static JsExpression |
JsUtils.createAssignment(JsExpression lhs,
JsExpression rhs) |
static JsExpression |
JsUtils.createAssignment(SourceInfo info,
JsExpression lhs,
JsExpression rhs) |
static JsExpression |
JsUtils.createCommaExpression(JsExpression... expressions) |
static JsExpression |
JsUtils.createInvocationOrPropertyAccess(JsUtils.InvocationStyle invocationStyle,
SourceInfo sourceInfo,
JMethod method,
JsExpression instance,
JsNameRef reference,
List<JsExpression> args) |
static JsExpression |
JsUtils.createQualifiedNameRef(SourceInfo info,
JsExpression base,
String... names) |
protected abstract void |
CoverageVisitor.endVisit(JsExpression x,
JsContext ctx) |
static boolean |
JsConstructExpressionVisitor.exec(JsExpression expression) |
static JsFunction |
JsUtils.isFunction(JsExpression e)
Given an expression, determine if it is a JsNameRef that refers to a
statically-defined JsFunction.
|
Modifier and Type | Method and Description |
---|---|
static JsExpression |
JsUtils.createInvocationOrPropertyAccess(JsUtils.InvocationStyle invocationStyle,
SourceInfo sourceInfo,
JMethod method,
JsExpression instance,
JsNameRef reference,
List<JsExpression> args) |
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 |
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) |
JsObjectLiteral.Builder |
JsObjectLiteral.Builder.add(JsExpression property,
JsExpression value) |
JsObjectLiteral.Builder |
JsObjectLiteral.Builder.add(SourceInfo sourceInfo,
JsExpression property,
JsExpression value) |
JsObjectLiteral.Builder |
JsObjectLiteral.Builder.add(String property,
JsExpression value) |
protected JsExpression |
JsVisitor.doAcceptLvalue(JsExpression expr) |
protected JsExpression |
JsModVisitor.doAcceptLvalue(JsExpression expr) |
void |
JsSuperVisitor.endVisit(JsExpression x,
JsContext ctx) |
JsNameRef |
JsName.makeQualifiedRef(SourceInfo sourceInfo,
JsExpression qualifier) |
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 |
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 |
JsExprStmt.setExpression(JsExpression expression) |
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 |
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) |
Constructor and Description |
---|
JsArrayLiteral(SourceInfo sourceInfo,
Iterable<JsExpression> expressions) |
JsInvocation(SourceInfo sourceInfo,
JsExpression function,
Iterable<JsExpression> args) |
JsInvocation(SourceInfo sourceInfo,
JsFunction function,
Iterable<JsExpression> args) |
JsNew(SourceInfo sourceInfo,
JsExpression ctorExpr,
Collection<JsExpression> args) |
Copyright © 2018. All rights reserved.