antlr
class LexerGrammar extends Grammar
| Field Summary | |
|---|---|
| protected boolean | caseSensitive true if the lexer generates case-sensitive literals testing |
| protected boolean | caseSensitiveLiterals |
| protected BitSet | charVocabulary |
| protected boolean | filterMode true if lexer is to ignore all unrecognized tokens |
| protected String | filterRule if filterMode is true, then filterRule can indicate an optional
rule to use as the scarf language. |
| protected boolean | testLiterals |
| Constructor Summary | |
|---|---|
| LexerGrammar(String className_, Tool tool_, String superClass) | |
| Method Summary | |
|---|---|
| void | generate() Top-level call to generate the code |
| String | getSuperClass() |
| boolean | getTestLiterals() |
| void | processArguments(String[] args) Process command line arguments.
|
| void | setCharVocabulary(BitSet b) Set the character vocabulary used by the lexer |
| boolean | setOption(String key, Token value) Set lexer options |