WithBlock

@Serializable
@SerialName(value = "WithBlock")
class WithBlock(val expression: FixtureExpressionChain, val body: List<FixtureSegment>, val openTrim: FixtureTrim = FixtureTrim(), val closeTrim: FixtureTrim = FixtureTrim()) : FixtureSegment(source)

Mirror of a {{#with identifier }} body {{/with}} block.

Constructors

Link copied to clipboard
constructor(expression: FixtureExpressionChain, body: List<FixtureSegment>, openTrim: FixtureTrim = FixtureTrim(), closeTrim: FixtureTrim = FixtureTrim())

Properties

Link copied to clipboard

the block's body segments.

Link copied to clipboard

the {{/with}} closing tag's whitespace-control state.

Link copied to clipboard

the context expression chain.

Link copied to clipboard

the {{#with}} opening tag's whitespace-control state.