Inline rule for parsing [[#ifexpr expression | then | else]].
Evaluates a mathematical expression and uses the result to choose
between the then and else branches. A zero result selects the else
branch; any non-zero result selects the then branch.
Like [[#if]], the then branch is required and the else branch
is optional.
Produces an "ifexpr" AST element with expression, then, and
else fields.
Inline rule for parsing
[[#ifexpr expression | then | else]].Evaluates a mathematical expression and uses the result to choose between the then and else branches. A zero result selects the else branch; any non-zero result selects the then branch.
Like
[[#if]], the then branch is required and the else branch is optional.Produces an
"ifexpr"AST element withexpression,then, andelsefields.