(parentReference: ParentReference)
| 37 | |
| 38 | export class ImportStatement extends JavaScriptSplootNode { |
| 39 | constructor(parentReference: ParentReference) { |
| 40 | super(parentReference, IMPORT) |
| 41 | this.addChildSet('source', ChildSetType.Single, NodeCategory.ModuleSource) |
| 42 | this.addChildSet('specifiers', ChildSetType.Many, NodeCategory.DeclaredIdentifier) |
| 43 | } |
| 44 | |
| 45 | getSource() { |
| 46 | return this.getChildSet('source') |
nothing calls this directly
no test coverage detected