Method ParserRuleContext::getParent() is missing in the C++ target

24 views
Skip to first unread message

Alainmarcel

unread,
Jun 23, 2017, 8:35:52 PM6/23/17
to antlr-discussion
Is there an alternative?
I'm comparing with the Java target which has this documented.
Thanks
Alain

Mike Lischke

unread,
Jun 24, 2017, 9:15:32 AM6/24/17
to antlr-di...@googlegroups.com
> Is there an alternative?
> I'm comparing with the Java target which has this documented.

The C++ target uses a simplified form of the tree classes. You can reach parent and children as fields on the base class (not functions).

Mike
--
www.soft-gems.net

Alainmarcel

unread,
Jun 25, 2017, 5:48:12 PM6/25/17
to antlr-discussion
Got it!
Thanks
Alain
Reply all
Reply to author
Forward
0 new messages