I was creating an AST tree with back references to the (parse)Nodes.
Now I'm trying to use parboiled 1.x and struggling to figure to replace that. I assumed the "value stack" was probably going to be what to used, but it doesn't seem the last matched node is available when I try to peek/pop it within FantomParserAstActions.java.
Could you advise me on a proper way to accomplish this (I get the feeling I'm doing this the "wrong way").
Since then parboiled default behavior is to not create a parse tree at all.
You need to use the @BuildParseTree annotation on the parser in order to enable parse tree building.
When parse tree building is enabled you can access the created nodes from your action via the MatcherContext.