IfBlock
@Serializable
@SerialName(value = "IfBlock")
Mirror of a {{#if X}} body0 {{else if Y}} body1 … {{else}} elseBody {{/if}} block.
Constructors
Link copied to clipboard
constructor(arms: List<FixtureIfArm>, elseBody: List<FixtureSegment>? = null, closeTrim: FixtureTrim = FixtureTrim(), elseTrim: FixtureTrim? = null)
Properties
Link copied to clipboard
the if/else if arms, in source order.
Link copied to clipboard
the {{/if}} closing tag's whitespace-control state.
Link copied to clipboard
the block's {{else}} segments, or null if absent.
Link copied to clipboard
the plain {{else}} tag's whitespace-control state, or null when there is no else arm or the else tag carries no ~ marker.