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

    Interface ErrorExprNode

    Synthetic placeholder emitted when the parser cannot produce a valid expression (e.g., attr = with nothing after). Wraps any tokens collected during error recovery so the CST is always complete and round-trip is preserved.

    interface ErrorExprNode {
        kind: "ErrorExpr";
        message: string;
        parts: readonly Token[];
        range: Range;
    }

    Hierarchy

    • NodeBase
      • ErrorExprNode
    Index

    Properties

    Properties

    kind: "ErrorExpr"
    message: string
    parts: readonly Token[]
    range: Range