()
| 106 | } |
| 107 | |
| 108 | clean() { |
| 109 | // If this expression is now empty, call `clean` on the parent. |
| 110 | // If the parent doesn't allow empty expressions, it'll delete it. |
| 111 | if (this.getTokenSet().getCount() === 0) { |
| 112 | this.parent.node.clean() |
| 113 | } |
| 114 | } |
| 115 | |
| 116 | static deserializer(serializedNode: SerializedNode): SplootExpression { |
| 117 | const res = new SplootExpression(null) |
nothing calls this directly
no test coverage detected