Dashboard > ANTLR 3 > Browse Space > Labels > faq_treeparsing
  ANTLR 3 Log In | Sign Up   View a printable version of the current page.  
  Label: faq_treeparsing

Content with label faq_treeparsing in ANTLR 3 (See content from all spaces)
Related Labels: faq_trees

Why do I get a null pointer exception when I try to reference text attributes in my tree parser?
Most likely you have not told the tree parser where it can find the token stream from which to obtain text. Recall that the default tree node implementation has a token pointer as a payload. This token pointer points into the original token ...
Can you explain ANTLR's tree construction facilities?
Introduction ANTLR v3 has moved away from using the ANTLR v2 childsibling trees for the common tree implementation. Instead, ANTLR v3 uses a simple listofchildren approach by default. To avoid locking everyone into the same implementation, ANTLR uses ...
Other labels: faq_trees
Site powered by a free Open Source Project / Non-profit License (more) of Confluence - the Enterprise wiki.
Learn more or evaluate Confluence for your organisation.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.1 Build:#806 May 06, 2007) - Bug/feature request - Contact Administrators