Skip to main content

ConditionalExpression

@lowcode/expression-parser


Interface: ConditionalExpression

Defined in: ast/nodes.ts:76

Тернарный оператор: cond ? a : b

Extends

Properties

alternate

alternate: ExpressionNode

Defined in: ast/nodes.ts:80


consequent

consequent: ExpressionNode

Defined in: ast/nodes.ts:79


end?

optional end: number

Defined in: ast/nodes.ts:8

Inherited from

BaseExpression.end


start?

optional start: number

Defined in: ast/nodes.ts:7

Inherited from

BaseExpression.start


test

test: ExpressionNode

Defined in: ast/nodes.ts:78


type

type: "ConditionalExpression"

Defined in: ast/nodes.ts:77

Overrides

BaseExpression.type