pt.compiler.parser.ast.stmt
Class BlockStmt

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.BlockStmt

public final class BlockStmt
extends Statement

Author:
Julio Vilmar Gesser

Constructor Summary
BlockStmt(int beginLine, int beginColumn, int endLine, int endColumn, java.util.List<Statement> stmts)
           
 
Method Summary
<R,A> R
accept(GenericVisitor<R,A> v, A arg)
           
<A> void
accept(VoidVisitor<A> v, A arg)
           
 java.util.List<Statement> getStmts()
           
 
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

BlockStmt

public BlockStmt(int beginLine,
                 int beginColumn,
                 int endLine,
                 int endColumn,
                 java.util.List<Statement> stmts)
Method Detail

getStmts

public java.util.List<Statement> getStmts()

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