Nodes in syntax tree


How to get the previously entered or current inserted node in the syntax tree.
What I am trying to do is retrieve the previous identifier string without having to iterate the syntax tree altogether.
Is there anyway to do this?

If you know where an insertion happened, you can use Tree.resolveInner to find the node before or after that.

1 Like