class ReusableAntlrTriggerSpecificationLexer extends AntlrTriggerSpecificationLexer
This class enables the reuse of the antlr lexer without having to recreate the it every time as stated in an ANTLR Interest Group mail .
| Modifier and Type | Field and Description |
|---|---|
private boolean |
savedCaseSensitive |
private boolean |
savedCaseSensitiveLiterals |
_tokenSet_0, _tokenSet_1, _tokenSet_2_returnToken, caseSensitive, caseSensitiveLiterals, commitToPath, EOF_CHAR, hashString, inputState, literals, saveConsumedInput, tabsize, text, tokenObjectClass, traceDepthALPHA, CLOSE_CURLY, CLOSE_PARAN, COMMENT, DOT, EOF, ID_add, ID_AFTER, ID_attributes, ID_CALL, ID_delete, ID_deletedEntry, ID_deleteoldrdn, ID_entry, ID_languageScheme, ID_ldapContext, ID_modification, ID_modify, ID_modifyDN, ID_modifyDNExport, ID_modifyDNImport, ID_modifyDNRename, ID_name, ID_newDN, ID_newEntry, ID_newrdn, ID_newSuperior, ID_object, ID_oldEntry, ID_oldRDN, ID_oldSuperiorDN, ID_operationPrincipal, ID_scope_base, ID_scope_one, ID_scope_subtree, ID_search_scope, ID_searchContext, IDENTIFIER, NULL_TREE_LOOKAHEAD, OPEN_CURLY, OPEN_PARAN, SAFEUTF8CHAR, SEMI, SEP, SP, UTF8String| Constructor and Description |
|---|
ReusableAntlrTriggerSpecificationLexer(Reader in)
Creates a ReusableAntlrTriggerSpecificationLexer instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
prepareNextInput(Reader in)
Resets the state of an antlr lexer and initializes it with new input.
|
mALPHA, mCLOSE_CURLY, mCLOSE_PARAN, mCOMMENT, mDOT, mIDENTIFIER, mOPEN_CURLY, mOPEN_PARAN, mSAFEUTF8CHAR, mSEMI, mSEP, mSP, mUTF8String, nextTokenappend, append, commit, consume, consumeUntil, consumeUntil, getCaseSensitive, getCaseSensitiveLiterals, getColumn, getCommitToPath, getFilename, getInputBuffer, getInputState, getLine, getTabSize, getText, getTokenObject, LA, makeToken, mark, match, match, match, matchNot, matchRange, newline, panic, panic, reportError, reportError, reportWarning, resetText, rewind, setCaseSensitive, setColumn, setCommitToPath, setFilename, setInputState, setLine, setTabSize, setText, setTokenObjectClass, tab, testLiteralsTable, testLiteralsTable, toLower, traceIn, traceIndent, traceOut, uponEOFprivate boolean savedCaseSensitive
private boolean savedCaseSensitiveLiterals
ReusableAntlrTriggerSpecificationLexer(Reader in)
in - the input to the lexerpublic void prepareNextInput(Reader in)
in - the input to the lexerCopyright © 2003–2018 The Apache Software Foundation. All rights reserved.