Class Parameter
Package: grammarkdown
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
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