(parentReference: ParentReference)
| 37 | |
| 38 | export class Assignment extends JavaScriptSplootNode { |
| 39 | constructor(parentReference: ParentReference) { |
| 40 | super(parentReference, ASSIGNMENT) |
| 41 | this.addChildSet('left', ChildSetType.Immutable, NodeCategory.Expression) |
| 42 | this.getChildSet('left').addChild(new SplootExpression(null)) |
| 43 | this.addChildSet('right', ChildSetType.Immutable, NodeCategory.Expression) |
| 44 | this.getChildSet('right').addChild(new SplootExpression(null)) |
| 45 | } |
| 46 | |
| 47 | getLeft() { |
| 48 | return this.getChildSet('left') |
nothing calls this directly
no test coverage detected