assembler
Class asmLexer

java.lang.Object
  extended by antlr.CharScanner
      extended by assembler.asmLexer
All Implemented Interfaces:
antlr.TokenStream, asmLexerTokenTypes

public class asmLexer
extends antlr.CharScanner
implements asmLexerTokenTypes, 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
           
 
Fields inherited from class antlr.CharScanner
_returnToken, caseSensitive, caseSensitiveLiterals, commitToPath, EOF_CHAR, hashString, inputState, literals, saveConsumedInput, tabsize, text, tokenObjectClass, traceDepth
 
Fields inherited from interface assembler.asmLexerTokenTypes
ADDLW, ADDLWSTATEMENT, ADDRESS, ADDWF, ADDWFSTATEMENT, AND, ANDLW, ANDLWSTATEMENT, ANDWF, ANDWFSTATEMENT, ASMSTATEMENT, ASSIGN, BASICDECL, BCF, BCFSTATEMENT, BINARY, BSF, BSFSTATEMENT, BTFSC, BTFSCSTATEMENT, BTFSS, BTFSSSTATEMENT, CALL, CALLSTATEMENT, CLRF, CLRFSTATEMENT, CLRW, CLRWDT, CLRWDTSTATEMENT, CLRWSTATEMENT, COLON, COMF, COMFSTATEMENT, COMMA, COMMENT, CONSTDECL, DECF, DECFSTATEMENT, DECFSZ, DECFSZSTATEMENT, DECIMAL, DIGIT, END, EOF, EQ, EQU, GOTO, GOTOSTATEMENT, GT, GTE, HEX, IDENT, INCF, INCFSTATEMENT, INCFSZ, INCFSZSTATEMENT, INSTRUCTIONSTATEMENT, IORLW, IORLWSTATEMENT, IORWF, IORWFSTATEMENT, LABELSTATEMENT, LBRC, LCURLY, LETTER, LITERAL, LPAR, LT, LTE, MINUS, MOVF, MOVFSTATEMENT, MOVLW, MOVLWSTATEMENT, MOVWF, MOVWFSTATEMENT, NEQ, NEWLINE, NOP, NOPSTATEMENT, NULL_TREE_LOOKAHEAD, NUMBER, OR, ORG, ORGSTATEMENT, PLUS, PROGRAM, RBRC, RCURLY, RETFIE, RETFIESTATEMENT, RETLW, RETLWSTATEMENT, RETURN, RETURNSTATEMENT, RLF, RLFSTATEMENT, RPAR, RRF, RRFSTATEMENT, SEMI, SLEEP, SLEEPSTATEMENT, STATEMENT, SUBLW, SUBLWSTATEMENT, SUBPROGRAMBODY, SUBWF, SUBWFSTATEMENT, SWAPF, SWAPFSTATEMENT, WS, XORLW, XORLWSTATEMENT, XORWF, XORWFSTATEMENT
 
Constructor Summary
asmLexer(antlr.InputBuffer ib)
           
asmLexer(java.io.InputStream in)
           
asmLexer(antlr.LexerSharedInputState state)
           
asmLexer(java.io.Reader in)
           
 
Method Summary
static int assemble(java.lang.String activeFileName, java.lang.String activeFilePath, ConsolePane consolePane, java.util.ArrayList breakPointLineNumbers, java.util.ArrayList bpAddress)
           
 void mADDRESS(boolean _createToken)
           
static void main(java.lang.String[] args)
           
 void mAND(boolean _createToken)
           
 void mASSIGN(boolean _createToken)
           
protected  void mBINARY(boolean _createToken)
           
 void mCOLON(boolean _createToken)
           
 void mCOMMA(boolean _createToken)
           
 void mCOMMENT(boolean _createToken)
           
protected  void mDECIMAL(boolean _createToken)
           
protected  void mDIGIT(boolean _createToken)
           
 void mEQ(boolean _createToken)
           
 void mGT(boolean _createToken)
           
 void mGTE(boolean _createToken)
           
protected  void mHEX(boolean _createToken)
           
protected  void mIDENT(boolean _createToken)
           
 void mLBRC(boolean _createToken)
           
 void mLCURLY(boolean _createToken)
           
protected  void mLETTER(boolean _createToken)
           
 void mLITERAL(boolean _createToken)
           
 void mLPAR(boolean _createToken)
           
 void mLT(boolean _createToken)
           
 void mLTE(boolean _createToken)
           
 void mMINUS(boolean _createToken)
           
 void mNEQ(boolean _createToken)
           
 void mNEWLINE(boolean _createToken)
           
 void mNUMBER(boolean _createToken)
           
 void mOR(boolean _createToken)
           
 void mPLUS(boolean _createToken)
           
 void mRBRC(boolean _createToken)
           
 void mRCURLY(boolean _createToken)
           
 void mRPAR(boolean _createToken)
           
 void mSEMI(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

_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
Constructor Detail

asmLexer

public asmLexer(java.io.InputStream in)

asmLexer

public asmLexer(java.io.Reader in)

asmLexer

public asmLexer(antlr.InputBuffer ib)

asmLexer

public asmLexer(antlr.LexerSharedInputState state)
Method Detail

main

public static void main(java.lang.String[] args)

assemble

public static int assemble(java.lang.String activeFileName,
                           java.lang.String activeFilePath,
                           ConsolePane consolePane,
                           java.util.ArrayList breakPointLineNumbers,
                           java.util.ArrayList bpAddress)

nextToken

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

mCOMMENT

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

mNEWLINE

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

mLCURLY

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

mRCURLY

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

mLPAR

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

mRPAR

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

mCOMMA

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

mLBRC

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

mRBRC

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

mASSIGN

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

mMINUS

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

mAND

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

mOR

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

mEQ

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

mNEQ

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

mLT

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

mGT

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

mLTE

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

mGTE

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

mDECIMAL

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

mBINARY

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

mIDENT

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

mNUMBER

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

mADDRESS

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

mLITERAL

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