Absyn
Class IfStmt

java.lang.Object
  extended by Absyn.Absyn
      extended by Absyn.Stmt
          extended by Absyn.IfStmt
All Implemented Interfaces:
Visitable

public class IfStmt
extends Stmt

If Statements.


Constructor Summary
IfStmt(Expr test, Stmt thenStm, Stmt elseStm)
           
 
Method Summary
 void accept(Visitor v)
          Visitor pattern dispatch.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IfStmt

public IfStmt(Expr test,
              Stmt thenStm,
              Stmt elseStm)
Method Detail

accept

public void accept(Visitor v)
Visitor pattern dispatch.

Specified by:
accept in interface Visitable
Specified by:
accept in class Stmt