modesteditor.core.antlrparser
Class ModestTreeWalker
java.lang.Object
antlr.TreeParser
modesteditor.core.antlrparser.ModestTreeWalker
- All Implemented Interfaces:
- ModestParserTokenTypes
public class ModestTreeWalker
- extends antlr.TreeParser
- implements ModestParserTokenTypes
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 |
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 |
_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
ModestTreeWalker
public ModestTreeWalker()
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