Show / Hide Table of Contents

    Class Parameter

    Package: grammarkdown
    Inheritance
    Node<SyntaxKind.Parameter>
    Parameter

    Constructors

    constructor(name)

    Constructs a new instance of the Parameter class

    Declaration
    constructor(name: Identifier);
    Parameters
    name
    Identifier

    Properties

    firstChild

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

    lastChild

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

    name

    Declaration
    readonly name: Identifier;
    Property Value
    Identifier

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

    Declaration
    update(name: Identifier): Parameter;
    Parameters
    name
    Identifier

    Returns
    Parameter

    Back to top Generated by DocFX