pt.compiler.parser.ast.stmt
Class DoStmt

java.lang.Object
  extended by pt.compiler.parser.ast.Node
      extended by pt.compiler.parser.ast.stmt.Statement
          extended by pt.compiler.parser.ast.stmt.DoStmt

public final class DoStmt
extends Statement

Author:
Julio Vilmar Gesser

Constructor Summary
DoStmt(int line, int column, Statement body, Expression condition)
           
 
Method Summary
<R,A> R
accept(GenericVisitor<R,A> v, A arg)
           
<A> void
accept(VoidVisitor<A> v, A arg)
           
 Statement getBody()
           
 Expression getCondition()
           
 
Methods inherited from class pt.compiler.parser.ast.Node
getBeginColumn, getBeginLine, getData, getEndColumn, getEndLine, setData, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DoStmt

public DoStmt(int line,
              int column,
              Statement body,
              Expression condition)
Method Detail

getBody

public Statement getBody()

getCondition

public Expression getCondition()

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