NImportStatement
Represents an import statement
Instance Members
The relative path of the file to import
The imported AST
each(handleNode: Function): Void
| Name |
Type |
handleNode |
Function |
Creates a new import statement node.
| Name |
Type |
Default |
Description |
id |
NodeId |
|
|
pos |
Position |
|
Position in source where this import appears |
path |
NStringLiteral |
|
The relative path of the file to import |
script |
Script |
|
The imported AST |
leadingComments |
Array<Comment> |
(optional) |
Optional comments before |
trailingComments |
Array<Comment> |
(optional) |
Optional comments after the operation |