Package 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$
 - Author:
 - Adam Cataldo, Elaine Cheong, Thomas Huining Feng
 - Pt.AcceptedRating:
 - Red (celaine)
 - Pt.ProposedRating:
 - Red (celaine)
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description static antlr.collections.impl.BitSet_tokenSet_0static 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 
 - 
 
- 
Constructor Summary
Constructors Constructor Description PtalonLexer(antlr.InputBuffer ib)PtalonLexer(antlr.LexerSharedInputState state)PtalonLexer(java.io.InputStream in)PtalonLexer(java.io.Reader in) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidmASSIGN(boolean _createToken)voidmCOLON(boolean _createToken)voidmCOMMA(boolean _createToken)voidmCOMMENT(boolean _createToken)voidmDOT(boolean _createToken)voidmEQUALS(boolean _createToken)voidmESC(boolean _createToken)voidmEXPRESSION(boolean _createToken)voidmID(boolean _createToken)voidmLBRACKET(boolean _createToken)voidmLCURLY(boolean _createToken)voidmLINE_COMMENT(boolean _createToken)voidmLPAREN(boolean _createToken)voidmNUMBER_LITERAL(boolean _createToken)voidmPLUS(boolean _createToken)voidmRBRACKET(boolean _createToken)voidmRCURLY(boolean _createToken)voidmRPAREN(boolean _createToken)voidmSEMI(boolean _createToken)voidmSTRING_LITERAL(boolean _createToken)voidmTRANSFORM(boolean _createToken)voidmWHITE_SPACE(boolean _createToken)antlr.TokennextToken()- 
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 
 - 
 
 - 
 
- 
- 
Method Detail
- 
nextToken
public antlr.Token nextToken() throws antlr.TokenStreamException- Specified by:
 nextTokenin interfaceantlr.TokenStream- Throws:
 antlr.TokenStreamException
 
- 
mASSIGN
public final void mASSIGN(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
 antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
 
- 
mCOMMA
public final void mCOMMA(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
 antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
 
- 
mDOT
public final void mDOT(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
 antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
 
- 
mLBRACKET
public final void mLBRACKET(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
 antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
 
- 
mLCURLY
public final void mLCURLY(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
 antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
 
- 
mLPAREN
public final void mLPAREN(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
 antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
 
- 
mRBRACKET
public final void mRBRACKET(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
 antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
 
- 
mRCURLY
public final void mRCURLY(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
 antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
 
- 
mRPAREN
public final void mRPAREN(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
 antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
 
- 
mSEMI
public final void mSEMI(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
 antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
 
- 
mEQUALS
public final void mEQUALS(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
 antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
 
- 
mCOLON
public final void mCOLON(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
 antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
 
- 
mTRANSFORM
public final void mTRANSFORM(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
 antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
 
- 
mPLUS
public final void mPLUS(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
 antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
 
- 
mESC
public final void mESC(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
 antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
 
- 
mID
public final void mID(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
 antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
 
- 
mNUMBER_LITERAL
public final void mNUMBER_LITERAL(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
 antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
 
- 
mSTRING_LITERAL
public final void mSTRING_LITERAL(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
 antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
 
- 
mWHITE_SPACE
public final void mWHITE_SPACE(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
 antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
 
- 
mLINE_COMMENT
public final void mLINE_COMMENT(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
 antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
 
- 
mEXPRESSION
public final void mEXPRESSION(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
 antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
 
- 
mCOMMENT
public final void mCOMMENT(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
 antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
 
 - 
 
 -