Dashboard > ANTLR 3 > ... > To implement > how to test if rule was not matched (via label)
  ANTLR 3 Log In | Sign Up   View a printable version of the current page.  
  how to test if rule was not matched (via label)
Added by Terence Parr, last edited by Terence Parr on Jul 27, 2006
Labels: 

Can't test $rulelabel==null ?? Need it to see if something was matched. Actually, might be int might be void if not no return value or prop ref. Might not be valid to test for null. Do we need another way?

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