Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Performance Q of using lexer rules for case is debatable.

...

Of course, you will need a fragment for each letter (i.e. A through Z) used in all of the lexical rules for which you want case insensitivity.
Also take note that calling a fragment rule for each character has quite an may impact on performance; test with your typical input to see if it
helps or degrades performance.

Java - Implement a custom File or String Stream and Override LA

...