org.apache.directory.shared.ldap.name
Class AntlrDnLexer

java.lang.Object
  extended by antlr.CharScanner
      extended by org.apache.directory.shared.ldap.name.AntlrDnLexer
All Implemented Interfaces:
antlr.TokenStream, AntlrDnTokenTypes

public class AntlrDnLexer
extends antlr.CharScanner
implements AntlrDnTokenTypes, antlr.TokenStream

An antlr generated DN lexer.

Version:
$Rev$
Author:
Apache Directory Project

Field Summary
static antlr.collections.impl.BitSet _tokenSet_0
           
static antlr.collections.impl.BitSet _tokenSet_1
           
static 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.shared.ldap.name.AntlrDnTokenTypes
ALPHA, COMMA, DIGIT, DOT, DQUOTE, EOF, EQUALS, ESC, ESCESC, HEX, HEXPAIR, HEXPAIR_OR_ESCESC_OR_ESC, HEXVALUE, HEXVALUE_OR_SHARP, HYPHEN, LANGLE, LDIGIT, LUTF1_REST, NULL_TREE_LOOKAHEAD, NUMBER, NUMERICOID, NUMERICOID_OR_ALPHA_OR_DIGIT, PLUS, RANGLE, SEMI, SHARP, SPACE, UTFMB
 
Constructor Summary
AntlrDnLexer(antlr.InputBuffer ib)
           
AntlrDnLexer(java.io.InputStream in)
           
AntlrDnLexer(antlr.LexerSharedInputState state)
           
AntlrDnLexer(java.io.Reader in)
           
 
Method Summary
protected  void mALPHA(boolean _createToken)
           
 void mCOMMA(boolean _createToken)
           
protected  void mDIGIT(boolean _createToken)
           
protected  void mDOT(boolean _createToken)
           
 void mDQUOTE(boolean _createToken)
           
 void mEQUALS(boolean _createToken)
           
protected  void mESC(boolean _createToken)
           
protected  void mESCESC(boolean _createToken)
           
protected  void mHEX(boolean _createToken)
           
 void mHEXPAIR_OR_ESCESC_OR_ESC(boolean _createToken)
           
protected  void mHEXPAIR(boolean _createToken)
           
 void mHEXVALUE_OR_SHARP(boolean _createToken)
           
protected  void mHEXVALUE(boolean _createToken)
           
 void mHYPHEN(boolean _createToken)
           
 void mLANGLE(boolean _createToken)
           
protected  void mLDIGIT(boolean _createToken)
           
 void mLUTF1_REST(boolean _createToken)
          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.
protected  void mNUMBER(boolean _createToken)
           
 void mNUMERICOID_OR_ALPHA_OR_DIGIT(boolean _createToken)
           
protected  void mNUMERICOID(boolean _createToken)
           
 void mPLUS(boolean _createToken)
           
 void mRANGLE(boolean _createToken)
           
 void mSEMI(boolean _createToken)
           
protected  void mSHARP(boolean _createToken)
           
 void mSPACE(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, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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(java.io.InputStream in)

AntlrDnLexer

public AntlrDnLexer(java.io.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 interface antlr.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

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

mNUMERICOID

protected final void mNUMERICOID(boolean _createToken)
                          throws antlr.RecognitionException,
                                 antlr.CharStreamException,
                                 antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException

mDIGIT

protected final void mDIGIT(boolean _createToken)
                     throws antlr.RecognitionException,
                            antlr.CharStreamException,
                            antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException

mALPHA

protected final void mALPHA(boolean _createToken)
                     throws antlr.RecognitionException,
                            antlr.CharStreamException,
                            antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException

mNUMBER

protected final void mNUMBER(boolean _createToken)
                      throws antlr.RecognitionException,
                             antlr.CharStreamException,
                             antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException

mDOT

protected final void mDOT(boolean _createToken)
                   throws antlr.RecognitionException,
                          antlr.CharStreamException,
                          antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException

mLDIGIT

protected final void mLDIGIT(boolean _createToken)
                      throws antlr.RecognitionException,
                             antlr.CharStreamException,
                             antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException

mHEXPAIR_OR_ESCESC_OR_ESC

public final void mHEXPAIR_OR_ESCESC_OR_ESC(boolean _createToken)
                                     throws antlr.RecognitionException,
                                            antlr.CharStreamException,
                                            antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException

mESC

protected final void mESC(boolean _createToken)
                   throws antlr.RecognitionException,
                          antlr.CharStreamException,
                          antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException

mHEX

protected final void mHEX(boolean _createToken)
                   throws antlr.RecognitionException,
                          antlr.CharStreamException,
                          antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException

mHEXPAIR

protected final void mHEXPAIR(boolean _createToken)
                       throws antlr.RecognitionException,
                              antlr.CharStreamException,
                              antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException

mESCESC

protected final void mESCESC(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

mSHARP

protected final void mSHARP(boolean _createToken)
                     throws antlr.RecognitionException,
                            antlr.CharStreamException,
                            antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException

mHEXVALUE

protected final void mHEXVALUE(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

mLUTF1_REST

public final void mLUTF1_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 explicitely added in the productions. EQUALS (0x3D) -* HYPHEN (0x2D) DIGIT (0x30-0x39) ALPHA (0x41-0x5A and 0x61-0x7A)

Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException


Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.