Class AntlrDnLexer
- java.lang.Object
-
- antlr.CharScanner
-
- org.apache.directory.api.ldap.model.name.AntlrDnLexer
-
- All Implemented Interfaces:
antlr.TokenStream,AntlrDnTokenTypes
public class AntlrDnLexer extends antlr.CharScanner implements AntlrDnTokenTypes, antlr.TokenStream
An antlr generated Dn lexer.- Author:
- Apache Directory Project
-
-
Field Summary
Fields Modifier and Type Field Description static antlr.collections.impl.BitSet_tokenSet_0static antlr.collections.impl.BitSet_tokenSet_1static antlr.collections.impl.BitSet_tokenSet_2-
Fields inherited from class antlr.CharScanner
_returnToken, caseSensitive, caseSensitiveLiterals, commitToPath, EOF_CHAR, hashString, inputState, literals, saveConsumedInput, tabsize, text, tokenObjectClass, traceDepth
-
Fields inherited from interface org.apache.directory.api.ldap.model.name.AntlrDnTokenTypes
ALPHA, CHAR_REST, COMMA, DIGIT, DOT, DQUOTE, EOF, EQUALS, ESC, ESCESC, ESCSHARP, HEX, HEXPAIR, HEXPAIR_OR_ESCESC_ESCSHARP_OR_ESC, HEXVALUE, HEXVALUE_OR_SHARP, HYPHEN, LANGLE, LDIGIT, NULL_TREE_LOOKAHEAD, NUMBER, NUMERICOID, NUMERICOID_OR_ALPHA_OR_DIGIT, PLUS, RANGLE, SEMI, SHARP, SPACE, UNDERSCORE, UTFMB
-
-
Constructor Summary
Constructors Constructor Description AntlrDnLexer(antlr.InputBuffer ib)AntlrDnLexer(antlr.LexerSharedInputState state)AntlrDnLexer(InputStream in)AntlrDnLexer(Reader in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidmALPHA(boolean _createToken)voidmCHAR_REST(boolean _createToken)RFC 4514, Section 3:voidmCOMMA(boolean _createToken)protected voidmDIGIT(boolean _createToken)protected voidmDOT(boolean _createToken)voidmDQUOTE(boolean _createToken)voidmEQUALS(boolean _createToken)protected voidmESC(boolean _createToken)protected voidmESCESC(boolean _createToken)protected voidmESCSHARP(boolean _createToken)protected voidmHEX(boolean _createToken)protected voidmHEXPAIR(boolean _createToken)voidmHEXPAIR_OR_ESCESC_ESCSHARP_OR_ESC(boolean _createToken)protected voidmHEXVALUE(boolean _createToken)voidmHEXVALUE_OR_SHARP(boolean _createToken)voidmHYPHEN(boolean _createToken)voidmLANGLE(boolean _createToken)protected voidmLDIGIT(boolean _createToken)protected voidmNUMBER(boolean _createToken)protected voidmNUMERICOID(boolean _createToken)voidmNUMERICOID_OR_ALPHA_OR_DIGIT(boolean _createToken)voidmPLUS(boolean _createToken)voidmRANGLE(boolean _createToken)voidmSEMI(boolean _createToken)protected voidmSHARP(boolean _createToken)voidmSPACE(boolean _createToken)voidmUNDERSCORE(boolean _createToken)voidmUTFMB(boolean _createToken)antlr.TokennextToken()-
Methods inherited from class antlr.CharScanner
append, 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, uponEOF
-
-
-
-
Constructor Detail
-
AntlrDnLexer
public AntlrDnLexer(InputStream in)
-
AntlrDnLexer
public AntlrDnLexer(Reader in)
-
AntlrDnLexer
public AntlrDnLexer(antlr.InputBuffer ib)
-
AntlrDnLexer
public AntlrDnLexer(antlr.LexerSharedInputState state)
-
-
Method Detail
-
nextToken
public antlr.Token nextToken() throws antlr.TokenStreamException- Specified by:
nextTokenin interfaceantlr.TokenStream- Throws:
antlr.TokenStreamException
-
mCOMMA
public final void mCOMMA(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mEQUALS
public final void mEQUALS(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mPLUS
public final void mPLUS(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mHYPHEN
public final void mHYPHEN(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mUNDERSCORE
public final void mUNDERSCORE(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mDQUOTE
public final void mDQUOTE(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mSEMI
public final void mSEMI(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mLANGLE
public final void mLANGLE(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mRANGLE
public final void mRANGLE(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mSPACE
public final void mSPACE(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mNUMERICOID_OR_ALPHA_OR_DIGIT
public final void mNUMERICOID_OR_ALPHA_OR_DIGIT(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mNUMERICOID
protected final void mNUMERICOID(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mDIGIT
protected final void mDIGIT(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mALPHA
protected final void mALPHA(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mNUMBER
protected final void mNUMBER(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mDOT
protected final void mDOT(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mLDIGIT
protected final void mLDIGIT(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mHEXPAIR_OR_ESCESC_ESCSHARP_OR_ESC
public final void mHEXPAIR_OR_ESCESC_ESCSHARP_OR_ESC(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mESC
protected final void mESC(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mHEX
protected final void mHEX(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mHEXPAIR
protected final void mHEXPAIR(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mESCESC
protected final void mESCESC(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mESCSHARP
protected final void mESCSHARP(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mSHARP
protected final void mSHARP(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mHEXVALUE_OR_SHARP
public final void mHEXVALUE_OR_SHARP(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mHEXVALUE
protected final void mHEXVALUE(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mUTFMB
public final void mUTFMB(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mCHAR_REST
public final void mCHAR_REST(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamExceptionRFC 4514, Section 3:LUTF1 = %x01-1F / %x21 / %x24-2A / %x2D-3A / %x3D / %x3F-5B / %x5D-7F To avoid nondeterminism the following rules are excluded. These rules are explicitly added in the productions. EQUALS (0x3D) HYPHEN (0x2D) UNDERSCORE (0x5F) DIGIT (0x30-0x39) ALPHA (0x41-0x5A and 0x61-0x7A)- Parameters:
_createToken- If a Token is to be to created- Throws:
antlr.RecognitionException- If the token is invalidantlr.TokenStreamException- When we weren't able to fetch a tokenantlr.CharStreamException- If we can't process the stream
-
-