Метод | Описание | |
---|---|---|
ConditionalExpression ( ) : System.Text | ||
ConditionalExpression ( int pos ) : System.Text | ||
ConditionalExpression ( int pos, int len ) : System.Text | ||
GetColonPosition ( ) : int |
Returns position of : token
|
|
GetFalseExpression ( ) : AstNode |
Returns expression to evaluate if test is false
|
|
GetQuestionMarkPosition ( ) : int |
Returns position of ? token
|
|
GetTestExpression ( ) : AstNode |
Returns test expression
|
|
GetTrueExpression ( ) : AstNode |
Returns expression to evaluate if test is true
|
|
HasSideEffects ( ) : bool | ||
SetColonPosition ( int colonPosition ) : void |
Sets position of : token
|
|
SetFalseExpression ( AstNode falseExpression ) : void |
Sets expression to evaluate if test is false, and sets its parent to this node. Sets expression to evaluate if test is false, and sets its parent to this node. |
|
SetQuestionMarkPosition ( int questionMarkPosition ) : void |
Sets position of ? token
|
|
SetTestExpression ( AstNode testExpression ) : void |
Sets test expression, and sets its parent. Sets test expression, and sets its parent. |
|
SetTrueExpression ( AstNode trueExpression ) : void |
Sets expression to evaluate if test is true, and sets its parent to this node. Sets expression to evaluate if test is true, and sets its parent to this node. |
|
ToSource ( int depth ) : string | ||
Visit ( NodeVisitor v ) : void |
Visits this node, then the test-expression, the true-expression, and the false-expression. Visits this node, then the test-expression, the true-expression, and the false-expression. |
public ConditionalExpression ( ) : System.Text | ||
Результат | System.Text |
public ConditionalExpression ( int pos ) : System.Text | ||
pos | int | |
Результат | System.Text |
public ConditionalExpression ( int pos, int len ) : System.Text | ||
pos | int | |
len | int | |
Результат | System.Text |
public SetColonPosition ( int colonPosition ) : void | ||
colonPosition | int | position of : token |
Результат | void |
public SetFalseExpression ( AstNode falseExpression ) : void | ||
falseExpression | AstNode | expression to evaluate if test is false |
Результат | void |
public SetQuestionMarkPosition ( int questionMarkPosition ) : void | ||
questionMarkPosition | int | position of ? token |
Результат | void |
public SetTestExpression ( AstNode testExpression ) : void | ||
testExpression | AstNode | test expression |
Результат | void |
public SetTrueExpression ( AstNode trueExpression ) : void | ||
trueExpression | AstNode | expression to evaluate if test is true |
Результат | void |