Interface TwingDoNode

Represents a do node.

The do tag works exactly like the regular variable expression ({{ ... }}) just that it doesn't print anything: {% do 1 + 2 %}

interface TwingDoNode {
    attributes: TwingBaseNodeAttributes;
    children: {
        body: TwingBaseExpressionNode;
    };
    column: number;
    line: number;
    tag: null | string;
    type: "do";
}

Hierarchy (view full)

Properties

children: {
    body: TwingBaseExpressionNode;
}
column: number
line: number
tag: null | string
type: "do"