Interface: ConditionalExpressionSemantics
compiler.ConditionalExpressionSemantics
Semantics for AST Node ConditionalExpression.
Since
0.11.0
Hierarchy
-
↳
ConditionalExpressionSemantics
Table of contents
Properties
Properties
condition
• condition: Expression
<ExpressionSemantics
, ExpressionTypeSemantics
, CompilableASTNode
<SemanticData
, TypeData
>>
The condition of the ternary statement.
Since
0.11.0
Defined in
kipper/core/src/compiler/ast/nodes/expressions/conditional-expression/conditional-expression-semantics.ts:17
falseBranch
• falseBranch: Expression
<ExpressionSemantics
, ExpressionTypeSemantics
, CompilableASTNode
<SemanticData
, TypeData
>>
The false branch of the ternary statement.
Since
0.11.0
Defined in
kipper/core/src/compiler/ast/nodes/expressions/conditional-expression/conditional-expression-semantics.ts:27
trueBranch
• trueBranch: Expression
<ExpressionSemantics
, ExpressionTypeSemantics
, CompilableASTNode
<SemanticData
, TypeData
>>
The true branch of the ternary statement.
Since
0.11.0
Defined in
kipper/core/src/compiler/ast/nodes/expressions/conditional-expression/conditional-expression-semantics.ts:22