ptolemy.actor.ptalon
Class PtalonLexer
java.lang.Object
antlr.CharScanner
ptolemy.actor.ptalon.PtalonLexer
- All Implemented Interfaces:
- antlr.TokenStream, PtalonTokenTypes
public class PtalonLexer
- extends antlr.CharScanner
- implements PtalonTokenTypes, antlr.TokenStream
PtalonLexer.java generated from populator.g by ANTLR.
- Since:
- Ptolemy II 7.0
- Version:
- $Id: PtalonLexer.java 54721 2009-06-26 22:32:23Z cxh $
- Author:
- Adam Cataldo, Elaine Cheong, Thomas Huining Feng
- Accepted Rating:
- Proposed Rating:
Field Summary |
static antlr.collections.impl.BitSet |
_tokenSet_0
|
static antlr.collections.impl.BitSet |
_tokenSet_1
|
Fields inherited from class antlr.CharScanner |
_returnToken, caseSensitive, caseSensitiveLiterals, commitToPath, EOF_CHAR, hashString, inputState, literals, saveConsumedInput, tabsize, text, tokenObjectClass, traceDepth |
Fields inherited from interface ptolemy.actor.ptalon.PtalonTokenTypes |
ACTOR, ACTOR_DECLARATION, ACTOR_DEFINITION, ACTOR_EQUALS, ACTOR_ID, ACTOR_LABEL, ACTORPARAM, ARITHMETIC_EXPRESSION, ARITHMETIC_FACTOR, ASSIGN, ATTACH_DANGLING_PORTS, ATTRIBUTE, BOOLEAN_EXPRESSION, BOOLEAN_FACTOR, COLON, COMMA, COMMENT, DANGLING_PORTS_OKAY, DOT, DYNAMIC_NAME, ELSE, EOF, EQUALS, ESC, EXPRESSION, FALSE, FALSEBRANCH, FOR, ID, IF, IMPORT, INITIALLY, INPORT, IS, LBRACKET, LCURLY, LINE_COMMENT, LOGICAL_BUFFER, LPAREN, MULTIINPORT, MULTIOUTPORT, MULTIPORT, NEGATE, NEGATIVE_SIGN, NEXT, NULL_TREE_LOOKAHEAD, NUMBER_LITERAL, OPTIONAL, OUTPORT, PARAM_EQUALS, PARAMETER, PLUS, PORT, POSITIVE_SIGN, PRESERVE, QUALID, QUALIFIED_PORT, RBRACKET, RCURLY, REFERENCE, RELATION, REMOVE, RPAREN, SATISFIES, SEMI, STRING_LITERAL, TRANSFORM, TRANSFORMATION, TRANSPARENT, TRUE, TRUEBRANCH, VARIABLE, WHITE_SPACE |
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 |
_tokenSet_0
public static final antlr.collections.impl.BitSet _tokenSet_0
_tokenSet_1
public static final antlr.collections.impl.BitSet _tokenSet_1
PtalonLexer
public PtalonLexer(java.io.InputStream in)
PtalonLexer
public PtalonLexer(java.io.Reader in)
PtalonLexer
public PtalonLexer(antlr.InputBuffer ib)
PtalonLexer
public PtalonLexer(antlr.LexerSharedInputState state)
nextToken
public antlr.Token nextToken()
throws antlr.TokenStreamException
- Specified by:
nextToken
in interface antlr.TokenStream
- Throws:
antlr.TokenStreamException
mASSIGN
public final void mASSIGN(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
mDOT
public final void mDOT(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
mLBRACKET
public final void mLBRACKET(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
mLPAREN
public final void mLPAREN(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
mRBRACKET
public final void mRBRACKET(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
mRPAREN
public final void mRPAREN(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
mEQUALS
public final void mEQUALS(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
mTRANSFORM
public final void mTRANSFORM(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
mESC
public final void mESC(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
mID
public final void mID(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
mNUMBER_LITERAL
public final void mNUMBER_LITERAL(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
mSTRING_LITERAL
public final void mSTRING_LITERAL(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
mWHITE_SPACE
public final void mWHITE_SPACE(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
mLINE_COMMENT
public final void mLINE_COMMENT(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
mEXPRESSION
public final void mEXPRESSION(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
mk_tokenSet_0
private static final long[] mk_tokenSet_0()
mk_tokenSet_1
private static final long[] mk_tokenSet_1()