| Package | Description |
|---|---|
| org.teavm.javascript.ast | |
| org.teavm.javascript.spi |
| Modifier and Type | Class and Description |
|---|---|
class |
BinaryExpr |
class |
ConditionalExpr |
class |
ConstantExpr |
class |
InstanceOfExpr |
class |
InvocationExpr |
class |
NewArrayExpr |
class |
NewExpr |
class |
NewMultiArrayExpr |
class |
QualificationExpr |
class |
StaticClassExpr |
class |
SubscriptExpr |
class |
UnaryExpr |
class |
UnwrapArrayExpr |
class |
VariableExpr |
| Modifier and Type | Method and Description |
|---|---|
static Expr |
Expr.binary(BinaryOperation op,
Expr first,
Expr second) |
static Expr |
Expr.binary(BinaryOperation op,
Expr first,
Expr second,
NodeLocation loc) |
Expr |
Expr.clone() |
protected Expr |
NewExpr.clone(Map<Expr,Expr> cache) |
protected Expr |
InvocationExpr.clone(Map<Expr,Expr> cache) |
protected Expr |
StaticClassExpr.clone(Map<Expr,Expr> cache) |
protected Expr |
NewArrayExpr.clone(Map<Expr,Expr> cache) |
protected Expr |
UnaryExpr.clone(Map<Expr,Expr> cache) |
protected abstract Expr |
Expr.clone(Map<Expr,Expr> cache) |
protected Expr |
VariableExpr.clone(Map<Expr,Expr> cache) |
protected Expr |
NewMultiArrayExpr.clone(Map<Expr,Expr> cache) |
protected Expr |
ConditionalExpr.clone(Map<Expr,Expr> cache) |
protected Expr |
InstanceOfExpr.clone(Map<Expr,Expr> cache) |
protected Expr |
QualificationExpr.clone(Map<Expr,Expr> cache) |
protected Expr |
ConstantExpr.clone(Map<Expr,Expr> cache) |
protected Expr |
SubscriptExpr.clone(Map<Expr,Expr> cache) |
protected Expr |
BinaryExpr.clone(Map<Expr,Expr> cache) |
static Expr |
Expr.constant(Object value) |
static Expr |
Expr.createArray(ValueType type,
Expr... dimensions) |
static Expr |
Expr.createArray(ValueType type,
Expr length) |
static Expr |
Expr.createObject(String type) |
Expr |
ConditionalExpr.getAlternative() |
Expr |
UnwrapArrayExpr.getArray() |
Expr |
SubscriptExpr.getArray() |
Expr |
ConditionalExpr.getCondition() |
Expr |
ConditionalStatement.getCondition() |
Expr |
WhileStatement.getCondition() |
Expr |
ConditionalExpr.getConsequent() |
Expr |
ThrowStatement.getException() |
Expr |
InstanceOfExpr.getExpr() |
Expr |
BinaryExpr.getFirstOperand() |
Expr |
SubscriptExpr.getIndex() |
Expr |
AssignmentStatement.getLeftValue() |
Expr |
NewArrayExpr.getLength() |
Expr |
MonitorEnterStatement.getObjectRef() |
Expr |
MonitorExitStatement.getObjectRef() |
Expr |
UnaryExpr.getOperand() |
Expr |
QualificationExpr.getQualified() |
Expr |
ReturnStatement.getResult() |
Expr |
AssignmentStatement.getRightValue() |
Expr |
BinaryExpr.getSecondOperand() |
Expr |
SwitchStatement.getValue() |
static Expr |
Expr.instanceOf(Expr target,
ValueType className) |
static Expr |
Expr.invert(Expr expr) |
static Expr |
Expr.qualify(Expr target,
FieldReference field) |
static Expr |
Expr.staticClass(ValueType type) |
static Expr |
Expr.subscript(Expr array,
Expr index) |
static Expr |
Expr.unary(UnaryOperation op,
Expr arg) |
static Expr |
Expr.var(int index) |
| Modifier and Type | Method and Description |
|---|---|
List<Expr> |
InvocationExpr.getArguments() |
List<Expr> |
NewMultiArrayExpr.getDimensions() |
| Modifier and Type | Method and Description |
|---|---|
static AssignmentStatement |
Statement.assign(Expr left,
Expr right) |
static Expr |
Expr.binary(BinaryOperation op,
Expr first,
Expr second) |
static Expr |
Expr.binary(BinaryOperation op,
Expr first,
Expr second,
NodeLocation loc) |
static Statement |
Statement.cond(Expr predicate,
List<Statement> consequent) |
static Statement |
Statement.cond(Expr predicate,
List<Statement> consequent,
List<Statement> alternative) |
static InvocationExpr |
Expr.constructObject(MethodReference method,
Expr[] arguments) |
static Expr |
Expr.createArray(ValueType type,
Expr... dimensions) |
static Expr |
Expr.createArray(ValueType type,
Expr length) |
static ReturnStatement |
Statement.exitFunction(Expr result) |
static Expr |
Expr.instanceOf(Expr target,
ValueType className) |
static Expr |
Expr.invert(Expr expr) |
static InvocationExpr |
Expr.invoke(MethodReference method,
Expr target,
Expr[] arguments) |
static InvocationExpr |
Expr.invoke(MethodReference method,
Expr target,
Expr[] arguments) |
static InvocationExpr |
Expr.invokeSpecial(MethodReference method,
Expr target,
Expr[] arguments) |
static InvocationExpr |
Expr.invokeSpecial(MethodReference method,
Expr target,
Expr[] arguments) |
static InvocationExpr |
Expr.invokeStatic(MethodReference method,
Expr[] arguments) |
static Expr |
Expr.qualify(Expr target,
FieldReference field) |
static ThrowStatement |
Statement.raiseException(Expr exception) |
void |
ConditionalExpr.setAlternative(Expr alternative) |
void |
UnwrapArrayExpr.setArray(Expr array) |
void |
SubscriptExpr.setArray(Expr array) |
void |
ConditionalExpr.setCondition(Expr condition) |
void |
ConditionalStatement.setCondition(Expr condition) |
void |
WhileStatement.setCondition(Expr condition) |
void |
ConditionalExpr.setConsequent(Expr consequent) |
void |
ThrowStatement.setException(Expr exception) |
void |
InstanceOfExpr.setExpr(Expr expr) |
void |
BinaryExpr.setFirstOperand(Expr firstOperand) |
void |
SubscriptExpr.setIndex(Expr index) |
void |
AssignmentStatement.setLeftValue(Expr leftValue) |
void |
NewArrayExpr.setLength(Expr length) |
void |
MonitorEnterStatement.setObjectRef(Expr objectRef) |
void |
MonitorExitStatement.setObjectRef(Expr objectRef) |
void |
UnaryExpr.setOperand(Expr operand) |
void |
QualificationExpr.setQualified(Expr qualified) |
void |
ReturnStatement.setResult(Expr result) |
void |
AssignmentStatement.setRightValue(Expr rightValue) |
void |
BinaryExpr.setSecondOperand(Expr secondOperand) |
void |
SwitchStatement.setValue(Expr value) |
static Expr |
Expr.subscript(Expr array,
Expr index) |
static Expr |
Expr.unary(UnaryOperation op,
Expr arg) |
| Modifier and Type | Method and Description |
|---|---|
protected Expr |
NewExpr.clone(Map<Expr,Expr> cache) |
protected Expr |
NewExpr.clone(Map<Expr,Expr> cache) |
protected Expr |
InvocationExpr.clone(Map<Expr,Expr> cache) |
protected Expr |
InvocationExpr.clone(Map<Expr,Expr> cache) |
protected Expr |
StaticClassExpr.clone(Map<Expr,Expr> cache) |
protected Expr |
StaticClassExpr.clone(Map<Expr,Expr> cache) |
protected Expr |
NewArrayExpr.clone(Map<Expr,Expr> cache) |
protected Expr |
NewArrayExpr.clone(Map<Expr,Expr> cache) |
protected Expr |
UnaryExpr.clone(Map<Expr,Expr> cache) |
protected Expr |
UnaryExpr.clone(Map<Expr,Expr> cache) |
protected abstract Expr |
Expr.clone(Map<Expr,Expr> cache) |
protected abstract Expr |
Expr.clone(Map<Expr,Expr> cache) |
protected Expr |
VariableExpr.clone(Map<Expr,Expr> cache) |
protected Expr |
VariableExpr.clone(Map<Expr,Expr> cache) |
protected Expr |
NewMultiArrayExpr.clone(Map<Expr,Expr> cache) |
protected Expr |
NewMultiArrayExpr.clone(Map<Expr,Expr> cache) |
protected Expr |
ConditionalExpr.clone(Map<Expr,Expr> cache) |
protected Expr |
ConditionalExpr.clone(Map<Expr,Expr> cache) |
protected UnwrapArrayExpr |
UnwrapArrayExpr.clone(Map<Expr,Expr> cache) |
protected UnwrapArrayExpr |
UnwrapArrayExpr.clone(Map<Expr,Expr> cache) |
protected Expr |
InstanceOfExpr.clone(Map<Expr,Expr> cache) |
protected Expr |
InstanceOfExpr.clone(Map<Expr,Expr> cache) |
protected Expr |
QualificationExpr.clone(Map<Expr,Expr> cache) |
protected Expr |
QualificationExpr.clone(Map<Expr,Expr> cache) |
protected Expr |
ConstantExpr.clone(Map<Expr,Expr> cache) |
protected Expr |
ConstantExpr.clone(Map<Expr,Expr> cache) |
protected Expr |
SubscriptExpr.clone(Map<Expr,Expr> cache) |
protected Expr |
SubscriptExpr.clone(Map<Expr,Expr> cache) |
protected Expr |
BinaryExpr.clone(Map<Expr,Expr> cache) |
protected Expr |
BinaryExpr.clone(Map<Expr,Expr> cache) |
| Modifier and Type | Method and Description |
|---|---|
Expr |
InjectorContext.getArgument(int index) |
| Modifier and Type | Method and Description |
|---|---|
void |
InjectorContext.writeExpr(Expr expr) |
Copyright © 2015. All rights reserved.