modesteditor.core.antlrparser
Class ModestSimulationTreeWalker

java.lang.Object
  extended by antlr.TreeParser
      extended by modesteditor.core.antlrparser.ModestSimulationTreeWalker
All Implemented Interfaces:
ModestSimulationTreeWalkerTokenTypes

public class ModestSimulationTreeWalker
extends antlr.TreeParser
implements ModestSimulationTreeWalkerTokenTypes


Field Summary
static java.lang.String[] _tokenNames
           
static antlr.collections.impl.BitSet _tokenSet_0
           
static antlr.collections.impl.BitSet _tokenSet_1
           
static antlr.collections.impl.BitSet _tokenSet_2
           
protected  java.lang.String errorMessage
           
protected  java.util.HashMap<java.lang.String,ModestAST> processMap
           
protected  boolean valid
           
 
Fields inherited from class antlr.TreeParser
_retTree, astFactory, ASTNULL, inputState, returnAST, tokenNames, traceDepth
 
Fields inherited from interface modesteditor.core.antlrparser.ModestSimulationTreeWalkerTokenTypes
ALT, AMPERSAND, AND_OP, ASSIGN, ASSIGN_END, ASSIGN_START, AT, BAND_ASSIGN, BOR, BOR_ASSIGN, BREAK, BXOR_ASSIGN, BY, C_COMMENT, CATCH, CATCH_DEFINITION_AST, CLASS, COLON, COMMA, CPP_COMMENT, DCOLON, DEFAULTS, DIV, DIV_ASSIGN, DO, DOT, DOT_OR_DOTDOT, DOTDOT, ELSE, ENUM, EOF, EOR, EQ_OP, ERROR, ESCAPE, EXPONENT_PART, EXPORT, EXPOSE, EXTEND, FLOAT, FLOAT_SUFFIX, FORALL, FUNCTION_CALL_AST, FUNCTION_DEFINITION_AST, GE_OP, GT_OP, GUARD_AST, HASH, HASH_OR_LINENR, HIDE, IDENTIFIER, IDENTIFIER_AST, IF, IMPATIENT, IMPORT, INT, INTNUMERIC, LBRACE, LBRACKET, LCURL, LE_OP, LT_OP, MCONST, MEXTERN, MINUS, MINUS_ASSIGN, MOD, MOD_ASSIGN, MULT, MULT_ASSIGN, NE_OP, NOT_OP, NULL_TREE_LOOKAHEAD, NUMERIC, OR_OP, PACKAGE, PALT, PAR, PARAMETER_LIST_AST, PATIENT, PLUS, PLUS_ASSIGN, PREFIX, PRIORITY, PROCESS, PROCESS_DEFINITION_AST, PROCESS_INSTANTIATION_AST, QUESTION, RANGE, RBRACE, RBRACKET, RCURL, RELABEL, RETURN, REWRITE, SEMICOLON, SET, SHIFTL, SHIFTL_OR_ASGN, SHIFTR, SHIFTR_OR_ASGN, SL_ASSIGN, SR_ASSIGN, STOP, STRING, STRUCT, THROW, TRY, TYPE_AST, TYPE_CAST, TYPE_DEFINITION_AST, TYPEDEF, URGENT, VARIABLE_DECLARATION_AST, WEIGHT_AST, WHEN, WS
 
Constructor Summary
ModestSimulationTreeWalker()
           
ModestSimulationTreeWalker(java.lang.String processName, int line, int column)
           
 
Method Summary
 void alt_stmnt(antlr.collections.AST _t, SimulationNode parent, java.lang.String guard)
           
 Symbol assignment(antlr.collections.AST _t, SimulationNode parent, java.lang.String guard)
           
 void declarative_stmnt(antlr.collections.AST _t)
           
 SimulationNode description(antlr.collections.AST _t, SimulationNode parent)
           
 void do_stmnt(antlr.collections.AST _t, SimulationNode parent, java.lang.String guard)
           
 java.lang.String error()
           
 Symbol expression(antlr.collections.AST _t)
           
 void local_process(antlr.collections.AST _t, SimulationNode parent, java.lang.String guard)
           
 boolean OK()
           
 void palt_stmnt(antlr.collections.AST _t, SimulationNode parent, java.lang.String guard)
           
 void par_stmnt(antlr.collections.AST _t, SimulationNode parent, java.lang.String guard)
           
 void param_definition(antlr.collections.AST _t)
           
 void range(antlr.collections.AST _t)
           
 SimulationNode seq_process(antlr.collections.AST _t, SimulationNode parent, java.lang.String guard)
           
 java.lang.String set_element(antlr.collections.AST _t)
           
 java.util.ArrayList<java.lang.String> set(antlr.collections.AST _t)
           
 void setProcessMap(java.util.HashMap<java.lang.String,ModestAST> processMap)
           
 SimulationNode start(antlr.collections.AST _t)
           
 
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
 

Field Detail

errorMessage

protected java.lang.String errorMessage

valid

protected boolean valid

processMap

protected java.util.HashMap<java.lang.String,ModestAST> processMap

_tokenNames

public static final java.lang.String[] _tokenNames

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

ModestSimulationTreeWalker

public ModestSimulationTreeWalker(java.lang.String processName,
                                  int line,
                                  int column)

ModestSimulationTreeWalker

public ModestSimulationTreeWalker()
Method Detail

OK

public boolean OK()

error

public java.lang.String error()

setProcessMap

public void setProcessMap(java.util.HashMap<java.lang.String,ModestAST> processMap)

start

public final SimulationNode start(antlr.collections.AST _t)
                           throws antlr.RecognitionException
Throws:
antlr.RecognitionException

description

public final SimulationNode description(antlr.collections.AST _t,
                                        SimulationNode parent)
                                 throws antlr.RecognitionException
Throws:
antlr.RecognitionException

declarative_stmnt

public final void declarative_stmnt(antlr.collections.AST _t)
                             throws antlr.RecognitionException
Throws:
antlr.RecognitionException

seq_process

public final SimulationNode seq_process(antlr.collections.AST _t,
                                        SimulationNode parent,
                                        java.lang.String guard)
                                 throws antlr.RecognitionException
Throws:
antlr.RecognitionException

param_definition

public final void param_definition(antlr.collections.AST _t)
                            throws antlr.RecognitionException
Throws:
antlr.RecognitionException

expression

public final Symbol expression(antlr.collections.AST _t)
                        throws antlr.RecognitionException
Throws:
antlr.RecognitionException

local_process

public final void local_process(antlr.collections.AST _t,
                                SimulationNode parent,
                                java.lang.String guard)
                         throws antlr.RecognitionException
Throws:
antlr.RecognitionException

set

public final java.util.ArrayList<java.lang.String> set(antlr.collections.AST _t)
                                                throws antlr.RecognitionException
Throws:
antlr.RecognitionException

alt_stmnt

public final void alt_stmnt(antlr.collections.AST _t,
                            SimulationNode parent,
                            java.lang.String guard)
                     throws antlr.RecognitionException
Throws:
antlr.RecognitionException

par_stmnt

public final void par_stmnt(antlr.collections.AST _t,
                            SimulationNode parent,
                            java.lang.String guard)
                     throws antlr.RecognitionException
Throws:
antlr.RecognitionException

do_stmnt

public final void do_stmnt(antlr.collections.AST _t,
                           SimulationNode parent,
                           java.lang.String guard)
                    throws antlr.RecognitionException
Throws:
antlr.RecognitionException

assignment

public final Symbol assignment(antlr.collections.AST _t,
                               SimulationNode parent,
                               java.lang.String guard)
                        throws antlr.RecognitionException
Throws:
antlr.RecognitionException

palt_stmnt

public final void palt_stmnt(antlr.collections.AST _t,
                             SimulationNode parent,
                             java.lang.String guard)
                      throws antlr.RecognitionException
Throws:
antlr.RecognitionException

range

public final void range(antlr.collections.AST _t)
                 throws antlr.RecognitionException
Throws:
antlr.RecognitionException

set_element

public final java.lang.String set_element(antlr.collections.AST _t)
                                   throws antlr.RecognitionException
Throws:
antlr.RecognitionException