:TS:Parameter
Node
→ represents a function/method parameter
- not to be confused with :TS:Type:FunctionParameter which is exclusive for :TS:Type:Function
Properties
Name | Description |
---|---|
index | position of the parameter in the parameter list (zero-based) |
name | name of the parameter |
optional (boolean) | indicates if the parameter is marked optional |
code coordinates | code coordinates of the parameter declaration (without fileName ) |
Relations
Name | Target Label(s) | Cardinality | Description |
---|---|---|---|
OF_TYPE | :TS:Type | 1 | type of the parameter |
DECLARES | :TS:Property | 0..1 | only for :TS:Constructor parameters: reference to the declared parameter property |
DECORATED_BY | :TS:Decorator | 0..* | only for :TS:Class member parameters: all decorators of the parameter |