Special version of PropertyNode which is used for parameters.
Constructor
new ParameterNode(nodeType, name?)| Parameter | Type | Default Value |
|---|---|---|
| nodeType | string | — |
| name? | null | string | null |
Constructs a new parameter node.
| Accessor | Type | |
|---|---|---|
| get type | string | |
Properties
| Property | Type | Default Value | |
|---|---|---|---|
| isParameterNode | boolean | — | |
| Method | Type | |
|---|---|---|
| getMemberType | (builder: NodeBuilder, name: string) => string | |
| getHash | () => string | |
| generate | () => string | |
Extends
PropertyNodeTSL function for creating a parameter node.
| Parameter | Type | Default Value |
|---|---|---|
| type | string | — |
| name | null | string | — |
Returns
ParameterNode