Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

match(int arg0) function of parser class

 
prateek sharmaa
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,
does anyone know about the match(int arg0) function and predicate function of parser class. currently i am working on parser and this is my first time with parser so i got stuck at these functions...........i tried googling but didn't get any reference.

please help me modifying my parser.


thanks and regards,
prateek sharma.
 
Lester Burnham
Rancher
Posts: 1337
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You might want to tell us what "parser" class that is you're talking about. The JRE class libraries have no class of that name.
 
prateek sharmaa
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am using antlr-2.7.5.jar and in this jar parser.class file is there which contains the match method...
now can you help me??
 
prateek sharmaa
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi does anyone know about match method of antlr-2.7.5.jar.......that will really be helpful for me........thnx
 
Lester Burnham
Rancher
Posts: 1337
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Antlr has no class "parser"; it does have both org.antlr.runtime.Parser and antlr.Parser, though. Are you asking about one of these? What exactly is the problem you're facing? What do you have, and where are you stuck making progress?
 
prateek sharmaa
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
actually in my project we have used that function match(int arg0) to parse the string. but the method which is using the match(int arg0) is not proper and returning wrong result.....so i want to know the functionality of the match(int arg0) method that what this method do so that i can understand the functionality of our method.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic