(node)
| 99 | } |
| 100 | |
| 101 | value(node) { |
| 102 | if(node.type === "constant") return node.value; |
| 103 | if(node.type === "variable") return node; |
| 104 | throw new Error("Trying to get value of non-value type: " + node.type) |
| 105 | } |
| 106 | } |
| 107 | |
| 108 | //--------------------------------------------------------------------- |
no outgoing calls
no test coverage detected