modesteditor.core.antlrparser
Class ModestTreeWalker

java.lang.Object
  extended by antlr.TreeParser
      extended by modesteditor.core.antlrparser.ModestTreeWalker
All Implemented Interfaces:
ModestParserTokenTypes

public class ModestTreeWalker
extends antlr.TreeParser
implements ModestParserTokenTypes


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
           
 
Fields inherited from class antlr.TreeParser
_retTree, astFactory, ASTNULL, inputState, returnAST, tokenNames, traceDepth
 
Fields inherited from interface modesteditor.core.antlrparser.ModestParserTokenTypes
AND, AND_EQUAL, ANDAND, CHAR, COLON, COMMA, COMMENT, DIV, DIV_EQUAL, DOT, DOTDOT, EOF, EQUAL, EQUALEQUAL, EXPONENT_PART, FLOAT, FLOAT_SUFFIX, GT, GTE, ID, INT, LBRACE, LBRACKET, LEFTSHIFT, LITERAL_action, LITERAL_actions, LITERAL_alt, LITERAL_bool, LITERAL_break, LITERAL_by, LITERAL_catch, LITERAL_clock, LITERAL_const, LITERAL_defaults, LITERAL_do, LITERAL_exception, LITERAL_extend, LITERAL_extern, LITERAL_false, LITERAL_float, LITERAL_guards, LITERAL_hide, LITERAL_impatient, LITERAL_int, LITERAL_not_urgent, LITERAL_palt, LITERAL_par, LITERAL_patient, LITERAL_prefix, LITERAL_process, LITERAL_range, LITERAL_relabel, LITERAL_return, LITERAL_set, LITERAL_struct, LITERAL_throw, LITERAL_true, LITERAL_try, LITERAL_typedef, LITERAL_urgent, LITERAL_when, LPAR, LSHIFT_EQUAL, LT, LTE, MINUS, MINUS_EQUAL, MINUSMINUS, ML_COMMENT, NOT, NOT_EQUAL, NULL_TREE_LOOKAHEAD, NUMERIC, OR, OR_EQUAL, OROR, PLUS, PLUS_EQUAL, PLUSPLUS, QUESTION, RBRACE, RBRACKET, REMAINDER, REMAINDER_EQUAL, RIGHTSHIFT, RPAR, RSHIFT_EQUAL, SEMI, STRING, TIME_EQUAL, TIMES, TIMES_EQUAL, TWIDDLE, ULEFTSHIFT, ULSHIFT_EQUAL, URIGHTSHIFT, URSHIFT_EQUAL, WS, XOR, XOR_EQUAL
 
Constructor Summary
ModestTreeWalker()
           
 
Method Summary
 java.util.ArrayList<Model> actionDeclaration(antlr.collections.AST _t)
           
 java.util.ArrayList<Model> body(antlr.collections.AST _t)
           
 java.util.ArrayList<Model> declaration(antlr.collections.AST _t)
           
 java.util.ArrayList<Model> exceptionDeclaration(antlr.collections.AST _t)
           
 int modifier(antlr.collections.AST _t)
           
 java.util.ArrayList<Model> processDeclaration(antlr.collections.AST _t)
           
 java.lang.String qType(antlr.collections.AST _t)
           
 Process simulation(antlr.collections.AST _t)
           
 java.util.ArrayList<Model> structDeclaration(antlr.collections.AST _t)
           
 java.util.ArrayList<Model> variableDeclaration(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

_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

ModestTreeWalker

public ModestTreeWalker()
Method Detail

simulation

public final Process simulation(antlr.collections.AST _t)
                         throws antlr.RecognitionException
Throws:
antlr.RecognitionException

declaration

public final java.util.ArrayList<Model> declaration(antlr.collections.AST _t)
                                             throws antlr.RecognitionException
Throws:
antlr.RecognitionException

actionDeclaration

public final java.util.ArrayList<Model> actionDeclaration(antlr.collections.AST _t)
                                                   throws antlr.RecognitionException
Throws:
antlr.RecognitionException

variableDeclaration

public final java.util.ArrayList<Model> variableDeclaration(antlr.collections.AST _t)
                                                     throws antlr.RecognitionException
Throws:
antlr.RecognitionException

exceptionDeclaration

public final java.util.ArrayList<Model> exceptionDeclaration(antlr.collections.AST _t)
                                                      throws antlr.RecognitionException
Throws:
antlr.RecognitionException

structDeclaration

public final java.util.ArrayList<Model> structDeclaration(antlr.collections.AST _t)
                                                   throws antlr.RecognitionException
Throws:
antlr.RecognitionException

processDeclaration

public final java.util.ArrayList<Model> processDeclaration(antlr.collections.AST _t)
                                                    throws antlr.RecognitionException
Throws:
antlr.RecognitionException

modifier

public final int modifier(antlr.collections.AST _t)
                   throws antlr.RecognitionException
Throws:
antlr.RecognitionException

qType

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

body

public final java.util.ArrayList<Model> body(antlr.collections.AST _t)
                                      throws antlr.RecognitionException
Throws:
antlr.RecognitionException