Class UnicodeCharacterRange

    Package: grammarkdown

    Represents a range of unicode characters.

    U+0000 through U+001F
    
    Inheritance
    LexicalSymbolBase<SyntaxKind.UnicodeCharacterRange>
    UnicodeCharacterRange

    Constructors

    constructor(left, throughKeyword, right)

    Constructs a new instance of the UnicodeCharacterRange class

    Declaration
    constructor(left: UnicodeCharacterLiteral, throughKeyword: Token<SyntaxKind.ThroughKeyword>, right: UnicodeCharacterLiteral);
    Parameters
    left
    UnicodeCharacterLiteral

    throughKeyword
    Token<SyntaxKind.ThroughKeyword>

    right
    UnicodeCharacterLiteral

    Properties

    edgeCount

    Declaration
    protected get edgeCount(): number;
    Property Value
    number

    firstChild

    Declaration
    get firstChild(): Node | undefined;
    Property Value
    Node | undefined

    lastChild

    Declaration
    get lastChild(): Node | undefined;
    Property Value
    Node | undefined

    left

    Declaration
    readonly left: UnicodeCharacterLiteral;
    Property Value
    UnicodeCharacterLiteral

    right

    Declaration
    readonly right: UnicodeCharacterLiteral;
    Property Value
    UnicodeCharacterLiteral

    throughKeyword

    Declaration
    readonly throughKeyword: Token<SyntaxKind.ThroughKeyword>;
    Property Value
    Token<SyntaxKind.ThroughKeyword>

    Methods

    accept(visitor)

    Declaration
    protected accept(visitor: NodeVisitor): UnicodeCharacterRange;
    Parameters
    visitor
    NodeVisitor

    Returns
    UnicodeCharacterRange

    children()

    Declaration
    children(): IterableIterator<Node>;
    Returns
    IterableIterator<Node>

    edgeName(offset)

    Declaration
    protected edgeName(offset: number): string | undefined;
    Parameters
    offset
    number

    Returns
    string | undefined

    edgeValue(offset)

    Declaration
    protected edgeValue(offset: number): Node | ReadonlyArray<Node> | undefined;
    Parameters
    offset
    number

    Returns
    Node | ReadonlyArray<Node> | undefined

    forEachChild(cbNode)

    Declaration
    forEachChild<T>(cbNode: (node: Node) => T | undefined): T | undefined;
    Type Parameters
    T

    Parameters
    cbNode
    (node: Node) => T | undefined

    Returns
    T | undefined

    update(left, right)

    Declaration
    update(left: UnicodeCharacterLiteral, right: UnicodeCharacterLiteral): UnicodeCharacterRange;
    Parameters
    left
    UnicodeCharacterLiteral

    right
    UnicodeCharacterLiteral

    Returns
    UnicodeCharacterRange

    Generated by DocFX