Property | Type | Description | |
---|---|---|---|
left | AstNode | ||
operatorPosition | int | ||
right | AstNode |
Method | Description | |
---|---|---|
GetLeft ( ) : AstNode |
Returns the left-hand side of the expression
|
|
GetOperator ( ) : int |
Returns operator token – alias for
|
|
GetOperatorPosition ( ) : int |
Returns relative offset of operator token
|
|
GetRight ( ) : AstNode |
Returns the right-hand side of the expression
|
|
HasSideEffects ( ) : bool | ||
InfixExpression ( ) : System | ||
InfixExpression ( AstNode left, AstNode right ) : System |
Constructs a new
|
|
InfixExpression ( int pos ) : System | ||
InfixExpression ( int @operator, AstNode left, AstNode right, int operatorPos ) : System |
Constructs a new
|
|
InfixExpression ( int pos, int len ) : System | ||
InfixExpression ( int pos, int len, AstNode left, AstNode right ) : System | ||
SetLeft ( AstNode left ) : void |
Sets the left-hand side of the expression, and sets its parent to this node. Sets the left-hand side of the expression, and sets its parent to this node. |
|
SetLeftAndRight ( AstNode left, AstNode right ) : void | ||
SetOperator ( int @operator ) : void |
Sets operator token – like
|
|
SetOperatorPosition ( int operatorPosition ) : void |
Sets operator token's relative offset
|
|
SetRight ( AstNode right ) : void |
Sets the right-hand side of the expression, and sets its parent to this node. Sets the right-hand side of the expression, and sets its parent to this node. |
|
ToSource ( int depth ) : string | ||
Visit ( NodeVisitor v ) : void |
Visits this node, the left operand, and the right operand. Visits this node, the left operand, and the right operand. |
public InfixExpression ( AstNode left, AstNode right ) : System | ||
left | AstNode | |
right | AstNode | |
return | System |
public InfixExpression ( int @operator, AstNode left, AstNode right, int operatorPos ) : System | ||
@operator | int | |
left | AstNode | |
right | AstNode | |
operatorPos | int | the absolute position of the operator |
return | System |
public InfixExpression ( int pos, int len ) : System | ||
pos | int | |
len | int | |
return | System |
public InfixExpression ( int pos, int len, AstNode left, AstNode right ) : System | ||
pos | int | |
len | int | |
left | AstNode | |
right | AstNode | |
return | System |
public SetLeft ( AstNode left ) : void | ||
left | AstNode | the left-hand side of the expression |
return | void |
public SetLeftAndRight ( AstNode left, AstNode right ) : void | ||
left | AstNode | |
right | AstNode | |
return | void |
public SetOperatorPosition ( int operatorPosition ) : void | ||
operatorPosition | int | offset in parent of operator token |
return | void |