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_0
static antlr.collections.impl.BitSet
_tokenSet_1
static antlr.collections.impl.BitSet
_tokenSet_2
-
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 void
mCHAR_REST(boolean _createToken)
RFC 4514, Section 3:void
mCOMMA(boolean _createToken)
void
mDQUOTE(boolean _createToken)
void
mEQUALS(boolean _createToken)
void
mHEXPAIR_OR_ESCESC_ESCSHARP_OR_ESC(boolean _createToken)
void
mHEXVALUE_OR_SHARP(boolean _createToken)
void
mHYPHEN(boolean _createToken)
void
mLANGLE(boolean _createToken)
void
mNUMERICOID_OR_ALPHA_OR_DIGIT(boolean _createToken)
void
mPLUS(boolean _createToken)
void
mRANGLE(boolean _createToken)
void
mSEMI(boolean _createToken)
void
mSPACE(boolean _createToken)
void
mUNDERSCORE(boolean _createToken)
void
mUTFMB(boolean _createToken)
antlr.Token
nextToken()
-
Methods inherited from class antlr.CharScanner
append, append, commit, consume, consumeUntil, consumeUntil, getCaseSensitive, getCaseSensitiveLiterals, getColumn, getCommitToPath, getFilename, getInputBuffer, getInputState, getLine, getTabSize, getText, getTokenObject, LA, 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
-
-
-
-
Field Detail
-
_tokenSet_0
public static final antlr.collections.impl.BitSet _tokenSet_0
-
_tokenSet_1
public static final antlr.collections.impl.BitSet _tokenSet_1
-
_tokenSet_2
public static final antlr.collections.impl.BitSet _tokenSet_2
-
-
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:
nextToken
in interfaceantlr.TokenStream
- Throws:
antlr.TokenStreamException
-
mCOMMA
public final void mCOMMA(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mEQUALS
public final void mEQUALS(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mPLUS
public final void mPLUS(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mHYPHEN
public final void mHYPHEN(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mUNDERSCORE
public final void mUNDERSCORE(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mDQUOTE
public final void mDQUOTE(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mSEMI
public final void mSEMI(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mLANGLE
public final void mLANGLE(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mRANGLE
public final void mRANGLE(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mSPACE
public final void mSPACE(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.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.RecognitionException
antlr.CharStreamException
antlr.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.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mHEXVALUE_OR_SHARP
public final void mHEXVALUE_OR_SHARP(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mUTFMB
public final void mUTFMB(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mCHAR_REST
public final void mCHAR_REST(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
RFC 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
-
-