new Case()
A switch case statement
Properties:
| Name | Type | Description |
|---|---|---|
test |
Expression | null |
if null, means that the default case |
body |
Block | 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: