ts-lambda-api - v2.5.2
    Preparing search index...

    Class Alias

    Hierarchy (View Summary)

    Index

    Constructors

    • Parameters

      • source: string

      Returns Alias

    Properties

    "[NODE_TYPE]": symbol
    addToJSMap?: (ctx: ToJSContext, map: MapLike, value: unknown) => void

    Customize the way that a key-value pair is resolved. Used for YAML 1.1 !!merge << handling.

    anchor?: never
    comment?: string

    A comment on or immediately after this

    commentBefore?: string

    A comment before this

    range?: Range

    The [start, value-end, node-end] character offsets for the part of the source parsed into this node (undefined if not parsed). The value-end and node-end positions are themselves not included in their respective ranges.

    source: string
    spaceBefore?: boolean

    A blank line before this node and its commentBefore

    srcToken?: Token

    The CST token that was composed into this node.

    tag?: string

    A fully qualified tag, if required

    Methods

    • Resolve the value of this alias within doc, finding the last instance of the source anchor before this node.

      Parameters

      Returns Scalar<unknown> | YAMLMap<unknown, unknown> | YAMLSeq<unknown>

    • A plain JavaScript representation of this node.

      Parameters

      Returns any

    • A plain JS representation of this node

      Parameters

      Returns unknown

    • Parameters

      • Optionalctx: StringifyContext
      • Optional_onComment: () => void
      • Optional_onChompKeep: () => void

      Returns string