pt.compiler.parser.ast.stmt
Class IfStmt
java.lang.Object
pt.compiler.parser.ast.Node
pt.compiler.parser.ast.stmt.Statement
pt.compiler.parser.ast.stmt.IfStmt
public final class IfStmt
- extends Statement
- Author:
- Julio Vilmar Gesser
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
IfStmt
public IfStmt(int line,
int column,
Expression condition,
Statement thenStmt,
Statement elseStmt)
getCondition
public Expression getCondition()
getThenStmt
public Statement getThenStmt()
getElseStmt
public Statement getElseStmt()
accept
public <A> void accept(VoidVisitor<A> v,
A arg)
- Overrides:
accept
in class Node
accept
public <R,A> R accept(GenericVisitor<R,A> v,
A arg)
- Overrides:
accept
in class Node