| 限定符和类型 | 方法和说明 |
|---|---|
Expression |
Parser.parseExpression(TokenStream stream) |
Expression |
Parser.parseExpression(TokenStream stream,
boolean expectRightCurly) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
BinaryOperation |
class |
Literal
常量
|
class |
TernaryOperation |
class |
UnaryOperation
一元操作符
|
| 限定符和类型 | 方法和说明 |
|---|---|
static Expression |
BinaryOperation.create(Expression left,
Token operator,
Expression right,
int linqLevel) |
Expression |
TernaryOperation.getCondition() |
Expression |
TernaryOperation.getFalseExpression() |
Expression |
BinaryOperation.getLeftOperand() |
Expression |
BinaryOperation.getRightOperand() |
Expression |
TernaryOperation.getTrueExpression() |
| 限定符和类型 | 方法和说明 |
|---|---|
static Expression |
BinaryOperation.create(Expression left,
Token operator,
Expression right,
int linqLevel) |
void |
BinaryOperation.setLeftOperand(Expression leftOperand) |
void |
BinaryOperation.setRightOperand(Expression rightOperand) |
| 构造器和说明 |
|---|
BinaryOperation(Expression leftOperand,
Span span,
Expression rightOperand) |
TernaryOperation(Expression condition,
Expression trueExpression,
Expression falseExpression) |
UnaryOperation(Token operator,
Expression operand) |
UnaryOperation(Token operator,
Expression operand,
boolean atAfter) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
AddOperation
+ 运算
|
class |
AndOperation
&& 操作
|
class |
AssigmentOperation
= 操作
|
class |
AsteriskEqualOperation
*= 运算
|
class |
DivisionOperation
/ 操作
|
class |
EqualOperation
==、===操作
|
class |
ForwardSlashEqualOperation
/= 运算
|
class |
GreaterEqualOperation
>=操作
|
class |
GreaterOperation
> 运算
|
class |
LessEqualOperation
<= 运算
|
class |
LessOperation
<
|
class |
MinusEqualOperation
-= 运算
|
class |
ModuloOperation
% 运算
|
class |
MultiplicationOperation
* 运算
|
class |
NotEqualOperation
!
|
class |
OrOperation
|| 操作
|
class |
PercentEqualOperation
%= 运算
|
class |
PlusEqualOperation
+= 运算
|
class |
SubtractionOperation
- 操作
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
LinqField |
class |
LinqJoin |
class |
LinqOrder |
class |
LinqSelect |
class |
WholeLiteral |
| 限定符和类型 | 方法和说明 |
|---|---|
Expression |
LinqField.getExpression() |
| 构造器和说明 |
|---|
LinqField(Span span,
Expression expression,
VarIndex alias) |
LinqJoin(Span span,
boolean leftJoin,
LinqField target,
Expression condition) |
LinqOrder(Span span,
Expression expression,
VarIndex alias,
int order) |
LinqSelect(Span span,
List<LinqField> fields,
LinqField from,
List<LinqJoin> joins,
Expression where,
List<LinqField> groups,
Expression having,
List<LinqOrder> orders) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
BigDecimalLiteral
int常量
|
class |
BooleanLiteral
boolean常量
|
class |
ByteLiteral
byte常量
|
class |
DoubleLiteral
double常量
|
class |
FloatLiteral
float常量
|
class |
IntegerLiteral
int常量
|
class |
ListLiteral
List常量
|
class |
LongLiteral
long 常量
|
class |
MapLiteral
map常量
|
class |
NullLiteral
null 常量
|
class |
RegexpLiteral
正则常量
|
class |
ShortLiteral
short 常量
|
class |
StringLiteral
String 常量
|
| 限定符和类型 | 字段和说明 |
|---|---|
List<Expression> |
ListLiteral.values |
| 构造器和说明 |
|---|
ListLiteral(Span span,
List<Expression> values) |
MapLiteral(Span span,
List<Token> keys,
List<Expression> values) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
AsyncCall
异步调用
|
class |
ClassConverter |
class |
FunctionCall |
class |
LambdaFunction |
class |
MapOrArrayAccess |
class |
MemberAccess |
class |
MethodCall |
class |
NewStatement |
class |
Spread
展开语法 Spread syntax (...)
|
class |
VariableAccess |
| 限定符和类型 | 方法和说明 |
|---|---|
Expression |
IfStatement.getCondition() |
Expression |
FunctionCall.getFunction() |
Expression |
MapOrArrayAccess.getKeyOrIndex()
Returns an expression that is used as the key or index to fetch a map or array element.
|
Expression |
MapOrArrayAccess.getMapOrArray()
Returns an expression that must evaluate to a map or array.
|
Expression |
ForStatement.getMapOrArray()
Returns null if no index or key name was given
|
Expression |
MethodCall.getObject()
Returns the object on which to call the method.
|
Expression |
MemberAccess.getObject()
Returns the object on which to access the member.
|
Expression |
Spread.getTarget() |
| 限定符和类型 | 方法和说明 |
|---|---|
List<Expression> |
MethodCall.getArguments()
Returns the list of expressions to be passed to the function as arguments.
|
List<Expression> |
FunctionCall.getArguments() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Spread.setTarget(Expression target) |
| 构造器和说明 |
|---|
AsyncCall(Span span,
Expression expression) |
ClassConverter(Span span,
String convert,
Expression target,
List<Expression> arguments) |
ForStatement(Span span,
VarIndex indexOrKey,
VarIndex value,
int varCount,
Expression mapOrArray,
List<Node> body) |
FunctionCall(Span span,
Expression function,
List<Expression> arguments,
boolean inLinq) |
IfStatement(Span span,
Expression condition,
List<Node> trueBlock,
List<IfStatement> elseIfs,
List<Node> falseBlock,
int trueVarCount,
int falseVarCount) |
MapOrArrayAccess(Span span,
Expression mapOrArray,
Expression keyOrIndex) |
MemberAccess(Expression object,
boolean optional,
Span name,
boolean whole) |
Spread(Span span,
Expression target) |
VariableDefine(Span span,
VarIndex varIndex,
Expression right) |
WhileStatement(Span span,
Expression condition,
List<Node> trueBlock,
int varCount) |
| 构造器和说明 |
|---|
ClassConverter(Span span,
String convert,
Expression target,
List<Expression> arguments) |
Exit(Span span,
List<Expression> expressions) |
FunctionCall(Span span,
Expression function,
List<Expression> arguments,
boolean inLinq) |
MethodCall(Span span,
MemberAccess method,
List<Expression> arguments) |
MethodCall(Span span,
MemberAccess method,
List<Expression> arguments,
boolean inLinq) |
NewStatement(Span span,
VarIndex target,
List<Expression> arguments) |
Copyright © 2020–2021. All rights reserved.