gov.nasa.pds.tools.label.antlr
Class ODLLexer

java.lang.Object
  extended by antlr.CharScanner
      extended by gov.nasa.pds.tools.label.antlr.ODLLexer
All Implemented Interfaces:
antlr.TokenStream, ODLTokenTypes

public class ODLLexer
extends antlr.CharScanner
implements ODLTokenTypes, antlr.TokenStream


Field Summary
static antlr.collections.impl.BitSet _tokenSet_0
           
static antlr.collections.impl.BitSet _tokenSet_1
           
static antlr.collections.impl.BitSet _tokenSet_2
           
static antlr.collections.impl.BitSet _tokenSet_3
           
static antlr.collections.impl.BitSet _tokenSet_4
           
static antlr.collections.impl.BitSet _tokenSet_5
           
static antlr.collections.impl.BitSet _tokenSet_6
           
static antlr.collections.impl.BitSet _tokenSet_7
           
static antlr.collections.impl.BitSet _tokenSet_8
           
 
Fields inherited from class antlr.CharScanner
_returnToken, caseSensitive, caseSensitiveLiterals, commitToPath, EOF_CHAR, hashString, inputState, literals, saveConsumedInput, tabsize, text, tokenObjectClass, traceDepth
 
Fields inherited from interface gov.nasa.pds.tools.label.antlr.ODLTokenTypes
BASED_INTEGER, COMMENT, DATE, DATETIME, DAY, DIGIT, DIGITS, DOY, ELEMENT_IDENT, END, END_GROUP, END_OBJECT, EOF, EOL, EQUALS, EXP_OP, EXTENDED_DIGIT, FRACTION, HOUR, IDENTIFIER, IGNORE, INTEGER, LETTER, LIST_SEPARATOR, LITERAL_GROUP, LITERAL_OBJECT, MINUTE, MONTH, MULT_OP, NULL_TREE_LOOKAHEAD, NUMBER_OR_DATETIME, POINT_OPERATOR, QUOTED, REAL, SECOND, SEQUENCE_CLOSING, SEQUENCE_OPENING, SET_CLOSING, SET_OPENING, SIGN, SPECIALCHAR, SYMBOL, TIME, UNITS, UNITS_FACTOR, WS, YEAR
 
Constructor Summary
ODLLexer(antlr.InputBuffer ib)
           
ODLLexer(java.io.InputStream in)
           
ODLLexer(antlr.LexerSharedInputState state)
           
ODLLexer(java.io.Reader in)
           
 
Method Summary
 java.lang.String getContext()
           
 java.lang.String getFilename()
           
 int getNumErrors()
           
 int getNumWarnings()
           
 java.lang.String getStatus()
           
 void incrementErrors()
           
 void incrementErrors(int numErrors)
           
 void incrementWarnings()
           
 void incrementWarnings(int numWarnings)
           
protected  void mBASED_INTEGER(boolean _createToken)
           
 void mCOMMENT(boolean _createToken)
           
protected  void mDATE(boolean _createToken)
           
protected  void mDATETIME(boolean _createToken)
           
protected  void mDAY(boolean _createToken)
           
protected  void mDIGIT(boolean _createToken)
           
protected  void mDIGITS(boolean _createToken)
           
protected  void mDOY(boolean _createToken)
           
 void mELEMENT_IDENT(boolean _createToken)
           
 void mEOL(boolean _createToken)
           
 void mEQUALS(boolean _createToken)
           
protected  void mEXP_OP(boolean _createToken)
           
protected  void mEXTENDED_DIGIT(boolean _createToken)
           
protected  void mFRACTION(boolean _createToken)
           
protected  void mHOUR(boolean _createToken)
           
protected  void mIDENTIFIER(boolean _createToken)
           
protected  void mIGNORE(boolean _createToken)
           
protected  void mINTEGER(boolean _createToken)
           
protected  void mLETTER(boolean _createToken)
           
 void mLIST_SEPARATOR(boolean _createToken)
           
protected  void mMINUTE(boolean _createToken)
           
protected  void mMONTH(boolean _createToken)
           
protected  void mMULT_OP(boolean _createToken)
           
 void mNUMBER_OR_DATETIME(boolean _createToken)
           
 void mPOINT_OPERATOR(boolean _createToken)
           
 void mQUOTED(boolean _createToken)
           
protected  void mREAL(boolean _createToken)
           
protected  void mSECOND(boolean _createToken)
           
 void mSEQUENCE_CLOSING(boolean _createToken)
           
 void mSEQUENCE_OPENING(boolean _createToken)
           
 void mSET_CLOSING(boolean _createToken)
           
 void mSET_OPENING(boolean _createToken)
           
protected  void mSIGN(boolean _createToken)
           
protected  void mSPECIALCHAR(boolean _createToken)
           
 void mSYMBOL(boolean _createToken)
           
protected  void mTIME(boolean _createToken)
           
protected  void mUNITS_FACTOR(boolean _createToken)
           
 void mUNITS(boolean _createToken)
           
 void mWS(boolean _createToken)
           
protected  void mYEAR(boolean _createToken)
           
 antlr.Token nextToken()
           
 void reportError(antlr.RecognitionException re)
           
 void reportError(antlr.RecognitionException re, java.lang.String s)
           
 void reportError(java.lang.String message, int line)
           
 void reportWarning(java.lang.String message, int line)
           
 void setContext(java.lang.String context)
           
 void setFilename(java.lang.String filename)
           
 void setStatus(java.lang.String status)
           
 
Methods inherited from class antlr.CharScanner
append, append, commit, consume, consumeUntil, consumeUntil, getCaseSensitive, getCaseSensitiveLiterals, getColumn, getCommitToPath, getInputBuffer, getInputState, getLine, getTabSize, getText, getTokenObject, LA, makeToken, mark, match, match, match, matchNot, matchRange, newline, panic, panic, reportError, reportWarning, resetText, rewind, setCaseSensitive, setColumn, setCommitToPath, 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

_tokenSet_3

public static final antlr.collections.impl.BitSet _tokenSet_3

_tokenSet_4

public static final antlr.collections.impl.BitSet _tokenSet_4

_tokenSet_5

public static final antlr.collections.impl.BitSet _tokenSet_5

_tokenSet_6

public static final antlr.collections.impl.BitSet _tokenSet_6

_tokenSet_7

public static final antlr.collections.impl.BitSet _tokenSet_7

_tokenSet_8

public static final antlr.collections.impl.BitSet _tokenSet_8
Constructor Detail

ODLLexer

public ODLLexer(java.io.InputStream in)

ODLLexer

public ODLLexer(java.io.Reader in)

ODLLexer

public ODLLexer(antlr.InputBuffer ib)

ODLLexer

public ODLLexer(antlr.LexerSharedInputState state)
Method Detail

setFilename

public void setFilename(java.lang.String filename)
Overrides:
setFilename in class antlr.CharScanner

getFilename

public java.lang.String getFilename()
Overrides:
getFilename in class antlr.CharScanner

setContext

public void setContext(java.lang.String context)

getContext

public java.lang.String getContext()

getStatus

public java.lang.String getStatus()

setStatus

public void setStatus(java.lang.String status)

incrementErrors

public void incrementErrors()

incrementWarnings

public void incrementWarnings()

incrementErrors

public void incrementErrors(int numErrors)

incrementWarnings

public void incrementWarnings(int numWarnings)

getNumErrors

public int getNumErrors()

getNumWarnings

public int getNumWarnings()

reportError

public void reportError(antlr.RecognitionException re)
Overrides:
reportError in class antlr.CharScanner

reportError

public void reportError(antlr.RecognitionException re,
                        java.lang.String s)

reportError

public void reportError(java.lang.String message,
                        int line)

reportWarning

public void reportWarning(java.lang.String message,
                          int line)

nextToken

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

mSET_OPENING

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

mSET_CLOSING

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

mSEQUENCE_OPENING

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

mSEQUENCE_CLOSING

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

mLIST_SEPARATOR

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

mPOINT_OPERATOR

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

mCOMMENT

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

mEOL

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

mWS

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

mIDENTIFIER

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

mLETTER

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

mELEMENT_IDENT

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

mUNITS

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

mSPECIALCHAR

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

mUNITS_FACTOR

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

mEXP_OP

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

mINTEGER

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

mMULT_OP

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

mNUMBER_OR_DATETIME

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

mDIGITS

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

mBASED_INTEGER

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

mDATETIME

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

mSIGN

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

mREAL

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

mEXTENDED_DIGIT

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

mYEAR

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

mMONTH

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

mDAY

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

mTIME

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

mDOY

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

mDATE

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

mHOUR

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

mMINUTE

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

mSECOND

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

mFRACTION

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

mQUOTED

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

mSYMBOL

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

mIGNORE

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


Copyright © 2005-2008 NASA Jet Propulsion Laboratory, California Institute of Technology. All Rights Reserved.