@cruglobal/js-hcl2 - v0.1.1
    Preparing search index...

    Interface TemplateNode

    Quoted string or heredoc. templateParts is the structured view of the body (string runs, interpolations, directives); parts is the flat source-order list used for printing.

    interface TemplateNode {
        closeToken: Token;
        isHeredoc: boolean;
        kind: "Template";
        openToken: Token;
        parts: readonly (Token | TemplatePart)[];
        range: Range;
        templateParts: readonly TemplatePart[];
    }

    Hierarchy

    • NodeBase
      • TemplateNode
    Index

    Properties

    closeToken: Token
    isHeredoc: boolean
    kind: "Template"
    openToken: Token
    parts: readonly (Token | TemplatePart)[]
    range: Range
    templateParts: readonly TemplatePart[]