new TraitUse()
Defines a trait usage
Properties:
| Name | Type | Description |
|---|---|---|
traits |
Array.<Identifier> | |
adaptations |
Array.<Node> | null |
- Source:
Extends
Methods
destroy()
Destroying an unused node
- Inherited From:
- Source:
includeToken(parser)
Includes current token position of the parser
Parameters:
| Name | Type | Description |
|---|---|---|
parser |
* |
- Inherited From:
- Source:
setTrailingComments(docs)
Attach comments to current node
Parameters:
| Name | Type | Description |
|---|---|---|
docs |
* |
- Inherited From:
- Source: