org.jostraca
Class WriterFormatLexer

java.lang.Object
  extended byorg.jostraca.comp.antlr.CharScanner
      extended byorg.jostraca.WriterFormatLexer
All Implemented Interfaces:
org.jostraca.comp.antlr.TokenStream, WriterFormatLexerTokenTypes

public class WriterFormatLexer
extends org.jostraca.comp.antlr.CharScanner
implements WriterFormatLexerTokenTypes, org.jostraca.comp.antlr.TokenStream


Field Summary
static org.jostraca.comp.antlr.collections.impl.BitSet _tokenSet_0
           
static org.jostraca.comp.antlr.collections.impl.BitSet _tokenSet_1
           
static org.jostraca.comp.antlr.collections.impl.BitSet _tokenSet_2
           
static org.jostraca.comp.antlr.collections.impl.BitSet _tokenSet_3
           
 
Fields inherited from class org.jostraca.comp.antlr.CharScanner
_returnToken, caseSensitive, caseSensitiveLiterals, commitToPath, EOF_CHAR, hashString, inputState, literals, saveConsumedInput, tabsize, text, tokenObjectClass, traceDepth
 
Fields inherited from interface org.jostraca.WriterFormatLexerTokenTypes
EOF, IDENTIFIER, LITERAL, NULL_TREE_LOOKAHEAD, PROPERTY, SECTION, TEXT
 
Constructor Summary
WriterFormatLexer(org.jostraca.comp.antlr.InputBuffer ib)
           
WriterFormatLexer(java.io.InputStream in)
           
WriterFormatLexer(org.jostraca.comp.antlr.LexerSharedInputState state)
           
WriterFormatLexer(java.io.Reader in)
           
 
Method Summary
 java.lang.String getCodeWriter()
           
 java.util.ArrayList getParseMessages()
           
 boolean hasParseMessages()
           
 void init()
           
protected  void mIDENTIFIER(boolean _createToken)
           
 void mLITERAL(boolean _createToken)
           
 void mPROPERTY(boolean _createToken)
           
 void mSECTION(boolean _createToken)
           
 void mTEXT(boolean _createToken)
           
 org.jostraca.comp.antlr.Token nextToken()
           
 void reportError(org.jostraca.comp.antlr.RecognitionException pRecognitionException)
          Parser error-reporting function can be overridden in subclass
 void reportError(java.lang.String pErrorMsg)
          Parser error-reporting function can be overridden in subclass
 void reportWarning(java.lang.String pWarningMsg)
          Parser warning-reporting function can be overridden in subclass
 void setPropertySet(PropertySet pPropertySet)
           
 void setSectionSet(SectionSet pSectionSet)
           
 
Methods inherited from class org.jostraca.comp.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, 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 org.jostraca.comp.antlr.collections.impl.BitSet _tokenSet_0

_tokenSet_1

public static final org.jostraca.comp.antlr.collections.impl.BitSet _tokenSet_1

_tokenSet_2

public static final org.jostraca.comp.antlr.collections.impl.BitSet _tokenSet_2

_tokenSet_3

public static final org.jostraca.comp.antlr.collections.impl.BitSet _tokenSet_3
Constructor Detail

WriterFormatLexer

public WriterFormatLexer(java.io.InputStream in)

WriterFormatLexer

public WriterFormatLexer(java.io.Reader in)

WriterFormatLexer

public WriterFormatLexer(org.jostraca.comp.antlr.InputBuffer ib)

WriterFormatLexer

public WriterFormatLexer(org.jostraca.comp.antlr.LexerSharedInputState state)
Method Detail

setSectionSet

public void setSectionSet(SectionSet pSectionSet)

setPropertySet

public void setPropertySet(PropertySet pPropertySet)
                    throws java.lang.Exception
Throws:
java.lang.Exception

getCodeWriter

public java.lang.String getCodeWriter()

reportError

public void reportError(org.jostraca.comp.antlr.RecognitionException pRecognitionException)
Description copied from class: org.jostraca.comp.antlr.CharScanner
Parser error-reporting function can be overridden in subclass


reportError

public void reportError(java.lang.String pErrorMsg)
Description copied from class: org.jostraca.comp.antlr.CharScanner
Parser error-reporting function can be overridden in subclass


reportWarning

public void reportWarning(java.lang.String pWarningMsg)
Description copied from class: org.jostraca.comp.antlr.CharScanner
Parser warning-reporting function can be overridden in subclass


init

public void init()

hasParseMessages

public boolean hasParseMessages()

getParseMessages

public java.util.ArrayList getParseMessages()

nextToken

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

mSECTION

public final void mSECTION(boolean _createToken)
                    throws org.jostraca.comp.antlr.RecognitionException,
                           org.jostraca.comp.antlr.CharStreamException,
                           org.jostraca.comp.antlr.TokenStreamException
Throws:
org.jostraca.comp.antlr.RecognitionException
org.jostraca.comp.antlr.CharStreamException
org.jostraca.comp.antlr.TokenStreamException

mIDENTIFIER

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

mPROPERTY

public final void mPROPERTY(boolean _createToken)
                     throws org.jostraca.comp.antlr.RecognitionException,
                            org.jostraca.comp.antlr.CharStreamException,
                            org.jostraca.comp.antlr.TokenStreamException
Throws:
org.jostraca.comp.antlr.RecognitionException
org.jostraca.comp.antlr.CharStreamException
org.jostraca.comp.antlr.TokenStreamException

mLITERAL

public final void mLITERAL(boolean _createToken)
                    throws org.jostraca.comp.antlr.RecognitionException,
                           org.jostraca.comp.antlr.CharStreamException,
                           org.jostraca.comp.antlr.TokenStreamException
Throws:
org.jostraca.comp.antlr.RecognitionException
org.jostraca.comp.antlr.CharStreamException
org.jostraca.comp.antlr.TokenStreamException

mTEXT

public final void mTEXT(boolean _createToken)
                 throws org.jostraca.comp.antlr.RecognitionException,
                        org.jostraca.comp.antlr.CharStreamException,
                        org.jostraca.comp.antlr.TokenStreamException
Throws:
org.jostraca.comp.antlr.RecognitionException
org.jostraca.comp.antlr.CharStreamException
org.jostraca.comp.antlr.TokenStreamException


Copyright © 2000-2002 Richard Rodger