copy

actual fun copy(): Tree(source)

Create a shallow copy of the syntax tree.

You need to copy a syntax tree in order to use it on multiple threads or coroutines, as syntax trees are not thread safe.

expect fun copy(): Tree(source)

Create a shallow copy of the syntax tree.

You need to copy a syntax tree in order to use it on multiple threads or coroutines, as syntax trees are not thread safe.

actual fun copy(): Tree(source)

Create a shallow copy of the syntax tree.

You need to copy a syntax tree in order to use it on multiple threads or coroutines, as syntax trees are not thread safe.

actual fun copy(): Tree(source)

Create a shallow copy of the syntax tree.

You need to copy a syntax tree in order to use it on multiple threads or coroutines, as syntax trees are not thread safe.