How can I make a lexer throw away characters until a rule is satisfied?

Terence Parr

Use the lexer grammar option "filter=true" or "filter=MySkipRule". See ANTLR Masquerading as SED and ANTLR Meets Sed.

Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact