interface CommentNode {
    data: string;
    nodeName: "#comment";
    parentNode: null | ParentNode;
    sourceCodeLocation?: null | Location;
}

Properties

data: string

Comment text.

nodeName: "#comment"

The name of the node.

parentNode: null | ParentNode

Parent node.

sourceCodeLocation?: null | Location

Comment source code location info. Available if location info is enabled.

Generated using TypeDoc