edu.toronto.cs.gclang.parser
Class GCLangBuilder
java.lang.Object
antlr.TreeParser
edu.toronto.cs.gclang.parser.GCLangBuilder
- All Implemented Interfaces:
- GCLangLexerTokenTypes
public class GCLangBuilder
- extends antlr.TreeParser
- implements GCLangLexerTokenTypes
Fields inherited from class antlr.TreeParser |
_retTree, astFactory, ASTNULL, inputState, returnAST, tokenNames, traceDepth |
Fields inherited from interface edu.toronto.cs.gclang.parser.GCLangLexerTokenTypes |
AND, ASSIGNOP, ASSIGNOPSPEC, ATOM, BOOLEAN, CHOICE, COL, COMMA, COMMENT, DIGIT, DIV, ELSE, EOF, EQ, FALSE, FI, GEQ, GT, IF, IFF, IMPLIES, INIT, LBRACE, LEQ, LPAREN, LT, MINUS, MOD, MULT, NAME, NEG, NEQ, NEWLINE, NULL_TREE_LOOKAHEAD, NUMBER, OR, PLUS, RBRACE, RPAREN, RULES, SEMI, SKIP, THEN, TRUE, VAR, VARNAME, WS, XOR |
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
GCLangBuilder
public GCLangBuilder(MvSetFactory _factory,
VariableTable _symbolTable)
GCLangBuilder
public GCLangBuilder()
getName
public java.lang.String getName()
program
public final void program(antlr.collections.AST _t)
throws antlr.RecognitionException
- Throws:
antlr.RecognitionException
atom
protected final java.lang.String atom(antlr.collections.AST _t)
throws antlr.RecognitionException
- Throws:
antlr.RecognitionException
initBlock
public final void initBlock(antlr.collections.AST _t)
throws antlr.RecognitionException
- Throws:
antlr.RecognitionException
rulesBlock
public final void rulesBlock(antlr.collections.AST _t)
throws antlr.RecognitionException
- Throws:
antlr.RecognitionException
expression
public final MvSet expression(antlr.collections.AST _t)
throws antlr.RecognitionException
- Throws:
antlr.RecognitionException
guardedCommand
public final MvSet guardedCommand(antlr.collections.AST _t)
throws antlr.RecognitionException
- Throws:
antlr.RecognitionException
guard
protected final MvSet guard(antlr.collections.AST _t)
throws antlr.RecognitionException
- Throws:
antlr.RecognitionException
command
public final MvSet command(antlr.collections.AST _t)
throws antlr.RecognitionException
- Throws:
antlr.RecognitionException
atomicCommand
public final MvSet atomicCommand(antlr.collections.AST _t)
throws antlr.RecognitionException
- Throws:
antlr.RecognitionException
assign
public final MvSet assign(antlr.collections.AST _t)
throws antlr.RecognitionException
- Throws:
antlr.RecognitionException
skip
public final MvSet skip(antlr.collections.AST _t)
throws antlr.RecognitionException
- Throws:
antlr.RecognitionException
ite
public final MvSet ite(antlr.collections.AST _t)
throws antlr.RecognitionException
- Throws:
antlr.RecognitionException
variable
protected final VariableTable.Variable variable(antlr.collections.AST _t)
throws antlr.RecognitionException
- Throws:
antlr.RecognitionException
enumSet
protected final java.util.Set enumSet(antlr.collections.AST _t)
throws antlr.RecognitionException
- Throws:
antlr.RecognitionException