NTextStatement
Represents a text statement in the AST.
Instance Members
The content of the text statement.
each(handleNode: Function): Void
| Name |
Type |
handleNode |
Function |
Converts the text statement to a JSON representation.
| Returns |
Description |
| Dynamic |
Dynamic object containing text data |
Creates a new text statement node.
| Name |
Type |
Default |
Description |
id |
NodeId |
|
|
pos |
Position |
|
Position in source where this text appears |
content |
NStringLiteral |
|
String literal containing the text content |
leadingComments |
Array<Comment> |
(optional) |
Optional comments before the text |
trailingComments |
Array<Comment> |
(optional) |
Optional comments after the text |