getParseTreeNode

external fun getParseTreeNode(node: Node?): Node?(source)

Gets the original parse tree node for a node.

Parameters

node

The original node.


external fun <T : Node> getParseTreeNode(node: T?, nodeTest: (node: Node) -> Boolean = definedExternally): T?(source)

Gets the original parse tree node for a node.

Parameters

node

The original node.

nodeTest

A callback used to ensure the correct type of parse tree node is returned.