ptolemy.actor.ptalon
Class PtalonPopulator
java.lang.Object
antlr.TreeParser
ptolemy.actor.ptalon.PtalonPopulator
- All Implemented Interfaces:
- PtalonPopulatorTokenTypes
public class PtalonPopulator
- extends antlr.TreeParser
- implements PtalonPopulatorTokenTypes
PtalonPopulator.java generated from populator.g by ANTLR.
- Since:
- Ptolemy II 7.0
- Version:
- $Id: PtalonPopulator.java 57046 2010-01-27 23:35:53Z cxh $
- Author:
- Adam Cataldo, Elaine Cheong, Thomas Huining Feng
- Accepted Rating:
- Proposed Rating:
Fields inherited from class antlr.TreeParser |
_retTree, astFactory, ASTNULL, inputState, returnAST, tokenNames, traceDepth |
Fields inherited from interface ptolemy.actor.ptalon.PtalonPopulatorTokenTypes |
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.TreeParser |
getAST, getASTFactory, getTokenName, getTokenNames, match, match, matchNot, panic, reportError, reportError, reportWarning, setASTFactory, setASTNodeClass, setASTNodeType, traceIn, traceIndent, traceOut |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
info
private PtalonEvaluator info
_tokenNames
public static final java.lang.String[] _tokenNames
PtalonPopulator
public PtalonPopulator()
getCodeManager
public PtalonEvaluator getCodeManager()
port_declaration
public final void port_declaration(antlr.collections.AST _t)
throws antlr.RecognitionException,
PtalonRuntimeException
- Throws:
antlr.RecognitionException
PtalonRuntimeException
parameter_declaration
public final void parameter_declaration(antlr.collections.AST _t)
throws antlr.RecognitionException,
PtalonRuntimeException
- Throws:
antlr.RecognitionException
PtalonRuntimeException
assigned_parameter_declaration
public final void assigned_parameter_declaration(antlr.collections.AST _t)
throws antlr.RecognitionException,
PtalonRuntimeException
- Throws:
antlr.RecognitionException
PtalonRuntimeException
qualified_identifier
public final void qualified_identifier(antlr.collections.AST _t)
throws antlr.RecognitionException
- Throws:
antlr.RecognitionException
relation_declaration
public final void relation_declaration(antlr.collections.AST _t)
throws antlr.RecognitionException,
PtalonRuntimeException
- Throws:
antlr.RecognitionException
PtalonRuntimeException
transparent_relation_declaration
public final void transparent_relation_declaration(antlr.collections.AST _t)
throws antlr.RecognitionException,
PtalonRuntimeException
- Throws:
antlr.RecognitionException
PtalonRuntimeException
assignment
public final void assignment(antlr.collections.AST _t)
throws antlr.RecognitionException,
PtalonRuntimeException
- Throws:
antlr.RecognitionException
PtalonRuntimeException
nested_actor_declaration
public final void nested_actor_declaration(antlr.collections.AST _t)
throws antlr.RecognitionException,
PtalonRuntimeException
- In this case we do not add any actors, but rather
defer this decision to any generated actors.
- Throws:
antlr.RecognitionException
PtalonRuntimeException
actor_declaration
public final void actor_declaration(antlr.collections.AST _t)
throws antlr.RecognitionException,
PtalonRuntimeException
- This is for a top level actor declaration, which
requires separate treatment from a nested actor
declaration.
- Throws:
antlr.RecognitionException
PtalonRuntimeException
atomic_statement
public final void atomic_statement(antlr.collections.AST _t)
throws antlr.RecognitionException,
PtalonRuntimeException
- Throws:
antlr.RecognitionException
PtalonRuntimeException
transformation_declaration
public final void transformation_declaration(antlr.collections.AST _t)
throws antlr.RecognitionException,
PtalonRuntimeException
- Throws:
antlr.RecognitionException
PtalonRuntimeException
conditional_statement
public final void conditional_statement(antlr.collections.AST _t)
throws antlr.RecognitionException,
PtalonRuntimeException
- Throws:
antlr.RecognitionException
PtalonRuntimeException
iterative_statement
public final void iterative_statement(antlr.collections.AST _t)
throws antlr.RecognitionException,
PtalonRuntimeException
- Throws:
antlr.RecognitionException
PtalonRuntimeException
iterative_statement_evaluator
public final void iterative_statement_evaluator(antlr.collections.AST _t)
throws antlr.RecognitionException,
PtalonRuntimeException
- Throws:
antlr.RecognitionException
PtalonRuntimeException
transformation
public final void transformation(antlr.collections.AST _t)
throws antlr.RecognitionException,
PtalonRuntimeException
- Throws:
antlr.RecognitionException
PtalonRuntimeException
actor_definition
public final void actor_definition(antlr.collections.AST _t,
PtalonEvaluator info)
throws antlr.RecognitionException,
PtalonRuntimeException
- Throws:
antlr.RecognitionException
PtalonRuntimeException