Show / Hide Table of Contents

    Class RightHandSide

    Package: grammarkdown
    Inheritance
    ProductionBodyBase<SyntaxKind.RightHandSide>
    RightHandSide

    Constructors

    constructor(constraints, head, reference)

    Constructs a new instance of the RightHandSide class

    Declaration
    constructor(constraints: Constraints | undefined, head: SymbolSpan | undefined, reference: LinkReference | undefined);
    Parameters
    constraints
    Constraints | undefined

    head
    SymbolSpan | undefined

    reference
    LinkReference | undefined

    Properties

    constraints

    Declaration
    readonly constraints: Constraints | undefined;
    Property Value
    Constraints | undefined

    firstChild

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

    head

    Declaration
    readonly head: SymbolSpan | undefined;
    Property Value
    SymbolSpan | undefined

    lastChild

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

    reference

    Declaration
    readonly reference: LinkReference | undefined;
    Property Value
    LinkReference | 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(constraints, head, reference)

    Declaration
    update(constraints: Constraints | undefined, head: SymbolSpan | undefined, reference: LinkReference | undefined): RightHandSide;
    Parameters
    constraints
    Constraints | undefined

    head
    SymbolSpan | undefined

    reference
    LinkReference | undefined

    Returns
    RightHandSide

    Back to top Generated by DocFX