Show / Hide Table of Contents

    Class RightHandSideList

    Package: grammarkdown
    Inheritance
    ProductionBodyBase<SyntaxKind.RightHandSideList>
    RightHandSideList

    Constructors

    constructor(elements)

    Constructs a new instance of the RightHandSideList class

    Declaration
    constructor(elements: ReadonlyArray<RightHandSide> | undefined);
    Parameters
    elements
    ReadonlyArray<RightHandSide> | undefined

    Properties

    elements

    Declaration
    readonly elements: ReadonlyArray<RightHandSide> | undefined;
    Property Value
    ReadonlyArray<RightHandSide> | undefined

    firstChild

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

    lastChild

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

    Methods

    children()

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

    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(elements)

    Declaration
    update(elements: ReadonlyArray<RightHandSide> | undefined): RightHandSideList;
    Parameters
    elements
    ReadonlyArray<RightHandSide> | undefined

    Returns
    RightHandSideList

    Back to top Generated by DocFX