reflective
Creates a node declaration that uses reflection to initialize instances of the nodes.
Intended to be used with delegated implementations:
data class MyNode(...) {
companion object : ParserNodeDeclaration<MyNode> by reflective()
}
Content copied to clipboard