Appearance
TernaryNode Class
Definition
Represents a conditional (ternary) expression: condition ? trueBranch : falseBranch.
- Namespace:
JASE.Expressions.Models - Assembly:
JASE.Expressions.dll
Properties
| Name | Description |
|---|---|
Condition | Gets the condition expression that determines which branch is evaluated. |
FalseBranch | Gets the expression evaluated if Condition evaluates to false. |
Kind | Expresses the Kind of AstNode object |
TrueBranch | Gets the expression evaluated if Condition evaluates to true. |
Remarks
The parser constructs this node when encountering the ?: operator. Semantic evaluation is performed by AstEvaluator.