cgp
Class CGPLexer

java.lang.Object
  |
  +--antlr.CharScanner
        |
        +--cgp.CGPLexer

public class CGPLexer
extends antlr.CharScanner
implements CGPTokenTypes, antlr.TokenStream

Conceptual Graph Processes lexical analyser. David Benn, June-October 2000


Field Summary
static antlr.collections.impl.BitSet _tokenSet_0
           
private static long[] _tokenSet_0_data_
           
static antlr.collections.impl.BitSet _tokenSet_1
           
private static long[] _tokenSet_1_data_
           
static antlr.collections.impl.BitSet _tokenSet_2
           
private static long[] _tokenSet_2_data_
           
static antlr.collections.impl.BitSet _tokenSet_3
           
private static long[] _tokenSet_3_data_
           
 
Fields inherited from class antlr.CharScanner
_returnToken, caseSensitive, caseSensitiveLiterals, commitToPath, EOF_CHAR, hashString, inputState, literals, NO_CHAR, saveConsumedInput, text, tokenObjectClass
 
Fields inherited from interface cgp.CGPTokenTypes
ACTOR_DEF, ACTUAL_ARGS, AND, ANON_FUN_DEF, ATTR_ASSIGN, ATTR_SELECTION, BLOCK, CALL, COLON, COMMA, COMMENT, CONCEPT_LITERAL, CONDITION, DIGIT, DOT, EMPTY_LIST, EOF, EQ, FILE_VALUE, FOREACH_STATEMENT, FUN_DEF, GE, GETS, GRAPH_LITERAL, GRAPH_STRING, GT, IDENT, IF_STATEMENT, IS, LAMBDA_DEF, LBRACE, LBRACK, LE, LETTER, LIST, LIST_ASSIGN, LIST_SELECTION, LITERAL_action, LITERAL_activate, LITERAL_actor, LITERAL_and, LITERAL_apply, LITERAL_assert, LITERAL_boolean, LITERAL_concept, LITERAL_div, LITERAL_do, LITERAL_else, LITERAL_end, LITERAL_exit, LITERAL_false, LITERAL_file, LITERAL_foreach, LITERAL_function, LITERAL_graph, LITERAL_if, LITERAL_in, LITERAL_initial, LITERAL_is, LITERAL_lambda, LITERAL_last, LITERAL_list, LITERAL_mod, LITERAL_new, LITERAL_not, LITERAL_number, LITERAL_option, LITERAL_or, LITERAL_out, LITERAL_post, LITERAL_pre, LITERAL_print, LITERAL_println, LITERAL_process, LITERAL_relation, LITERAL_retract, LITERAL_return, LITERAL_rule, LITERAL_string, LITERAL_system, LITERAL_then, LITERAL_true, LITERAL_undefined, LITERAL_while, LPAREN, LT, MATCH_EXPRESSION, MEMBER_FUNCALL, METACHAR, MINUS, MUL, MUTATE_KB_EXPRESSION, NE, NEW_VALUE, NOT, NULL_TREE_LOOKAHEAD, NUMBER, OPTION_LIST, OR, PLUS, POST_DEF, PRE_DEF, PROCESS_DEF, RBRACE, RBRACK, RPAREN, RULE_DEF, SEMI, STRING, TILDE, TYPE_DECL, TYPE_VALUE, VALUE_SELECTOR, VAR_ASSIGN, WHILE_STATEMENT, WS
 
Constructor Summary
CGPLexer(antlr.InputBuffer ib)
           
CGPLexer(java.io.InputStream in)
           
CGPLexer(antlr.LexerSharedInputState state)
           
CGPLexer(java.io.Reader in)
           
 
Method Summary
 void mCOLON(boolean _createToken)
           
 void mCOMMA(boolean _createToken)
           
 void mCOMMENT(boolean _createToken)
           
protected  void mDIGIT(boolean _createToken)
           
 void mDOT(boolean _createToken)
           
 void mEQ(boolean _createToken)
           
 void mGE(boolean _createToken)
           
 void mGETS(boolean _createToken)
           
 void mGRAPH_STRING(boolean _createToken)
           
 void mGT(boolean _createToken)
           
 void mIDENT(boolean _createToken)
           
 void mLBRACE(boolean _createToken)
           
 void mLBRACK(boolean _createToken)
           
 void mLE(boolean _createToken)
           
protected  void mLETTER(boolean _createToken)
           
 void mLPAREN(boolean _createToken)
           
 void mLT(boolean _createToken)
           
protected  void mMETACHAR(boolean _createToken)
           
 void mMINUS(boolean _createToken)
           
 void mMUL(boolean _createToken)
           
 void mNE(boolean _createToken)
           
 void mNUMBER(boolean _createToken)
           
 void mPLUS(boolean _createToken)
           
 void mRBRACE(boolean _createToken)
           
 void mRBRACK(boolean _createToken)
           
 void mRPAREN(boolean _createToken)
           
 void mSEMI(boolean _createToken)
           
 void mSTRING(boolean _createToken)
           
 void mTILDE(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, getText, getTokenObject, LA, makeToken, mark, match, match, match, matchNot, matchRange, newline, panic, panic, reportError, reportError, reportWarning, resetText, rewind, setCaseSensitive, setCommitToPath, setFilename, setInputState, setLine, setText, setTokenObjectClass, testLiteralsTable, testLiteralsTable, toLower, traceIn, traceOut, uponEOF
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

_tokenSet_0_data_

private static final long[] _tokenSet_0_data_

_tokenSet_0

public static final antlr.collections.impl.BitSet _tokenSet_0

_tokenSet_1_data_

private static final long[] _tokenSet_1_data_

_tokenSet_1

public static final antlr.collections.impl.BitSet _tokenSet_1

_tokenSet_2_data_

private static final long[] _tokenSet_2_data_

_tokenSet_2

public static final antlr.collections.impl.BitSet _tokenSet_2

_tokenSet_3_data_

private static final long[] _tokenSet_3_data_

_tokenSet_3

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

CGPLexer

public CGPLexer(java.io.InputStream in)

CGPLexer

public CGPLexer(java.io.Reader in)

CGPLexer

public CGPLexer(antlr.InputBuffer ib)

CGPLexer

public CGPLexer(antlr.LexerSharedInputState state)
Method Detail

nextToken

public antlr.Token nextToken()
                      throws antlr.TokenStreamException
Specified by:
nextToken in interface antlr.TokenStream
Overrides:
nextToken in class antlr.CharScanner

mLPAREN

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

mRPAREN

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

mLBRACK

public final void mLBRACK(boolean _createToken)
                   throws antlr.RecognitionException,
                          antlr.CharStreamException,
                          antlr.TokenStreamException

mRBRACK

public final void mRBRACK(boolean _createToken)
                   throws antlr.RecognitionException,
                          antlr.CharStreamException,
                          antlr.TokenStreamException

mLBRACE

public final void mLBRACE(boolean _createToken)
                   throws antlr.RecognitionException,
                          antlr.CharStreamException,
                          antlr.TokenStreamException

mRBRACE

public final void mRBRACE(boolean _createToken)
                   throws antlr.RecognitionException,
                          antlr.CharStreamException,
                          antlr.TokenStreamException

mSEMI

public final void mSEMI(boolean _createToken)
                 throws antlr.RecognitionException,
                        antlr.CharStreamException,
                        antlr.TokenStreamException

mCOLON

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

mDOT

public final void mDOT(boolean _createToken)
                throws antlr.RecognitionException,
                       antlr.CharStreamException,
                       antlr.TokenStreamException

mCOMMA

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

mGETS

public final void mGETS(boolean _createToken)
                 throws antlr.RecognitionException,
                        antlr.CharStreamException,
                        antlr.TokenStreamException

mPLUS

public final void mPLUS(boolean _createToken)
                 throws antlr.RecognitionException,
                        antlr.CharStreamException,
                        antlr.TokenStreamException

mMINUS

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

mMUL

public final void mMUL(boolean _createToken)
                throws antlr.RecognitionException,
                       antlr.CharStreamException,
                       antlr.TokenStreamException

mEQ

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

mNE

public final void mNE(boolean _createToken)
               throws antlr.RecognitionException,
                      antlr.CharStreamException,
                      antlr.TokenStreamException

mGT

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

mLT

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

mGE

public final void mGE(boolean _createToken)
               throws antlr.RecognitionException,
                      antlr.CharStreamException,
                      antlr.TokenStreamException

mLE

public final void mLE(boolean _createToken)
               throws antlr.RecognitionException,
                      antlr.CharStreamException,
                      antlr.TokenStreamException

mTILDE

public final void mTILDE(boolean _createToken)
                  throws antlr.RecognitionException,
                         antlr.CharStreamException,
                         antlr.TokenStreamException

mIDENT

public final void mIDENT(boolean _createToken)
                  throws antlr.RecognitionException,
                         antlr.CharStreamException,
                         antlr.TokenStreamException

mLETTER

protected final void mLETTER(boolean _createToken)
                      throws antlr.RecognitionException,
                             antlr.CharStreamException,
                             antlr.TokenStreamException

mDIGIT

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

mNUMBER

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

mMETACHAR

protected final void mMETACHAR(boolean _createToken)
                        throws antlr.RecognitionException,
                               antlr.CharStreamException,
                               antlr.TokenStreamException

mSTRING

public final void mSTRING(boolean _createToken)
                   throws antlr.RecognitionException,
                          antlr.CharStreamException,
                          antlr.TokenStreamException

mGRAPH_STRING

public final void mGRAPH_STRING(boolean _createToken)
                         throws antlr.RecognitionException,
                                antlr.CharStreamException,
                                antlr.TokenStreamException

mWS

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

mCOMMENT

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