| |
|
| java.lang.Object persistence.antlr.Grammar persistence.antlr.LexerGrammar
LexerGrammar | class LexerGrammar extends Grammar (Code) | | Lexer-specific grammar subclass
|
caseSensitive | protected boolean caseSensitive(Code) | | true if the lexer generates case-sensitive literals testing
|
caseSensitiveLiterals | protected boolean caseSensitiveLiterals(Code) | | |
filterMode | protected boolean filterMode(Code) | | true if lexer is to ignore all unrecognized tokens
|
filterRule | protected String filterRule(Code) | | if filterMode is true, then filterRule can indicate an optional
rule to use as the scarf language. If null, programmer used
plain "filter=true" not "filter=rule".
|
testLiterals | protected boolean testLiterals(Code) | | |
generate | public void generate() throws IOException(Code) | | Top-level call to generate the code
|
getTestLiterals | public boolean getTestLiterals()(Code) | | |
processArguments | public void processArguments(String[] args)(Code) | | Process command line arguments.
-trace have all rules call traceIn/traceOut
-traceLexer have lexical rules call traceIn/traceOut
-debug generate debugging output for parser debugger
|
setCharVocabulary | public void setCharVocabulary(BitSet b)(Code) | | Set the character vocabulary used by the lexer
|
|
|
|