(type, left, right)
| 44 | */ |
| 45 | |
| 46 | static createNode(type, left, right) { |
| 47 | const node = new ASTNode(); |
| 48 | node.type = type; |
| 49 | node.left = left; |
| 50 | node.right = right; |
| 51 | |
| 52 | return node; |
| 53 | } |
| 54 | |
| 55 | static createUnaryNode(left) { |
| 56 | const node = new ASTNode(); |
no outgoing calls
no test coverage detected