IfExpr constructor
IfExpr(})
Implementation
IfExpr(
this.condition,
this.thenBranch, {
this.elseBranch,
super.source,
super.line = 0,
super.column = 0,
super.offset = 0,
super.length = 0,
}) : super(
InternalIdentifier.ifExpression,
isAwait: condition.isAwait ||
thenBranch.isAwait ||
(elseBranch?.isAwait ?? false),
isBlock: thenBranch.isBlock,
);