Type Parameters

Hierarchy

Constructors

Properties

#childNodes: undefined | NodeListOf<ChildNode<T, O>>

Cached childNodes property

#endCol: number
#endLine: number
#endOffset: number
#fixed: string
#ownerDocument: Document<T, O>

Owner Document

Implements

DOM API: Node

See

https://dom.spec.whatwg.org/#ref-for-dom-node-ownerdocument

#prevToken: undefined | null | MLNode<T, O, MLASTAbstractNode>

Cached prevToken property

#raw: string
#startCol: number
#startLine: number
#startOffset: number
ATTRIBUTE_NODE: 2 = 2

Implements

DOM API: Node

See

https://dom.spec.whatwg.org/#interface-node

CDATA_SECTION_NODE: 4 = 4

Implements

DOM API: Node

See

https://dom.spec.whatwg.org/#interface-node

COMMENT_NODE: 8 = 8

Implements

DOM API: Node

See

https://dom.spec.whatwg.org/#interface-node

DOCUMENT_FRAGMENT_NODE: 11 = 11

Implements

DOM API: Node

See

https://dom.spec.whatwg.org/#interface-node

DOCUMENT_NODE: 9 = 9

Implements

DOM API: Node

See

https://dom.spec.whatwg.org/#interface-node

DOCUMENT_POSITION_CONTAINED_BY: 16 = 0b10_000
DOCUMENT_POSITION_CONTAINS: 8 = 0b1_000
DOCUMENT_POSITION_DISCONNECTED: 1 = 0b1
DOCUMENT_POSITION_FOLLOWING: 4 = 0b100
DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32 = 0b100_000
DOCUMENT_POSITION_PRECEDING: 2 = 0b10
DOCUMENT_TYPE_NODE: 10 = 10

Implements

DOM API: Node

See

https://dom.spec.whatwg.org/#interface-node

ELEMENT_NODE: 1 = 1

Implements

DOM API: Node

See

https://dom.spec.whatwg.org/#interface-node

ENTITY_NODE: 6 = 6

Deprecated

Implements

DOM API: Node

See

https://dom.spec.whatwg.org/#interface-node

ENTITY_REFERENCE_NODE: 5 = 5

Deprecated

Implements

DOM API: Node

See

https://dom.spec.whatwg.org/#interface-node

MARKUPLINT_PREPROCESSOR_BLOCK: 101 = 101

Implements

@markuplint/ml-core API: MLNode

NOTATION_NODE: 12 = 12

Deprecated

Implements

DOM API: Node

See

https://dom.spec.whatwg.org/#interface-node

PROCESSING_INSTRUCTION_NODE: 7 = 7

Implements

DOM API: Node

See

https://dom.spec.whatwg.org/#interface-node

TEXT_NODE: 3 = 3

Implements

DOM API: Node

See

https://dom.spec.whatwg.org/#interface-node

isTransparent: boolean
rules: Record<string, AnyRule> = {}
uuid: string

Accessors

  • get nodeName(): "#ml-block"
  • Returns a string appropriate for the type of node as MLBlock

    Implements

    @markuplint/ml-core API: MLBlock

    Returns "#ml-block"

  • get textContent(): null | string
  • Return the text content.

    • If the node is a Comment, or Text, textContent returns, or sets, the text inside the node, i.e., the Node.nodeValue.
    • For other node types, textContent returns the concatenation of the textContent of every child node, excluding comments and processing instructions. (This is an empty string if the node has no children.)

    Implements

    DOM API: Node

    See

    https://dom.spec.whatwg.org/#dom-node-textcontent

    Returns null | string

Methods

  • Implements

    @markuplint/ml-core API: MLNode

    Type Parameters

    • NType extends NodeType

    Parameters

    • nodeType: NType

    Returns this is NodeTypeOf<NType, T, O>

Generated using TypeDoc