@internal
(internal, address, language, textCallback)
| 230 | language; |
| 231 | /** @internal */ |
| 232 | constructor(internal, address, language, textCallback) { |
| 233 | assertInternal(internal); |
| 234 | this[0] = address; |
| 235 | this.language = language; |
| 236 | this.textCallback = textCallback; |
| 237 | } |
| 238 | /** Create a shallow copy of the syntax tree. This is very fast. */ |
| 239 | copy() { |
| 240 | const address = C._ts_tree_copy(this[0]); |
nothing calls this directly
no test coverage detected