org.apache.directory.shared.ldap.filter
Class AntlrFilterLexer

java.lang.Object
  extended byantlr.CharScanner
      extended byorg.apache.directory.shared.ldap.filter.AntlrFilterLexer
All Implemented Interfaces:
FilterLexerTokenTypes, antlr.TokenStream

public class AntlrFilterLexer
extends antlr.CharScanner
implements FilterLexerTokenTypes, antlr.TokenStream

The filter parser's primary lexer.

Author:
Alex Karasulu
See Also:
String Representation of Search Filters, LDAP: Directory Information Models

Field Summary
static java.lang.String SELECTOR_KEY
          the selector key used by this class of lexer
 
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.filter.FilterLexerTokenTypes
ALPHA, AMPERSAND, AMPERSTAND, APPROX, ASTERISK, ATTRIBUTEDESCRIPTION, COLON, COLONEQUALS, DESCR, DIGIT, DN, EOF, EQUALS, ESC, ESCAPED, EXCLAMATION, GREATEROREQUAL, HEXDIG, LANGLE, LDIGIT, LESSOREQUAL, LPAREN, NORMAL, NULL_TREE_LOOKAHEAD, NUMBER, NUMERICOID, OID, OPTION, OPTIONS, RANGLE, RPAREN, TILDE, UTF0, UTF1, UTF1SUBSET, UTF2, UTF3, UTF4, UTF8, UTFMB, VALUEENCODING, VERTBAR, WS
 
Constructor Summary
AntlrFilterLexer(antlr.InputBuffer ib)
           
AntlrFilterLexer(java.io.InputStream in)
           
AntlrFilterLexer(antlr.LexerSharedInputState state)
           
AntlrFilterLexer(java.io.Reader in)
           
 
Method Summary
protected  void mALPHA(boolean _createToken)
           
 void mAMPERSTAND(boolean _createToken)
           
 void mAPPROX(boolean _createToken)
           
 void mASTERISK(boolean _createToken)
           
 void mATTRIBUTEDESCRIPTION(boolean _createToken)
           
 void mCOLON(boolean _createToken)
           
 void mCOLONEQUALS(boolean _createToken)
           
protected  void mDESCR(boolean _createToken)
           
protected  void mDIGIT(boolean _createToken)
           
 void mDN(boolean _createToken)
           
 void mEQUALS(boolean _createToken)
           
 void mEXCLAMATION(boolean _createToken)
           
 void mGREATEROREQUAL(boolean _createToken)
           
protected  void mLANGLE(boolean _createToken)
           
protected  void mLDIGIT(boolean _createToken)
           
 void mLESSOREQUAL(boolean _createToken)
           
 void mLPAREN(boolean _createToken)
           
protected  void mNUMBER(boolean _createToken)
           
protected  void mNUMERICOID(boolean _createToken)
           
protected  void mOID(boolean _createToken)
           
protected  void mOPTION(boolean _createToken)
           
protected  void mOPTIONS(boolean _createToken)
           
protected  void mRANGLE(boolean _createToken)
           
 void mRPAREN(boolean _createToken)
           
protected  void mTILDE(boolean _createToken)
           
 void mVERTBAR(boolean _createToken)
           
 void mWS(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

SELECTOR_KEY

public static final java.lang.String SELECTOR_KEY
the selector key used by this class of lexer

See Also:
Constant Field Values
Constructor Detail

AntlrFilterLexer

public AntlrFilterLexer(java.io.InputStream in)

AntlrFilterLexer

public AntlrFilterLexer(java.io.Reader in)

AntlrFilterLexer

public AntlrFilterLexer(antlr.InputBuffer ib)

AntlrFilterLexer

public AntlrFilterLexer(antlr.LexerSharedInputState state)
Method Detail

nextToken

public antlr.Token nextToken()
                      throws antlr.TokenStreamException
Specified by:
nextToken in interface antlr.TokenStream
Throws:
antlr.TokenStreamException

mWS

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

mRANGLE

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

mLANGLE

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

mTILDE

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

mCOLON

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

mASTERISK

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

mEXCLAMATION

public final void mEXCLAMATION(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

mLPAREN

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

mRPAREN

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

mVERTBAR

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

mAMPERSTAND

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

mDN

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

mCOLONEQUALS

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

mAPPROX

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

mGREATEROREQUAL

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

mLESSOREQUAL

public final void mLESSOREQUAL(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

mLDIGIT

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

mNUMERICOID

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

mDESCR

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

mOID

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

mOPTION

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

mOPTIONS

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

mATTRIBUTEDESCRIPTION

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


Copyright © 2003-2006 . All Rights Reserved.