pt.compiler.parser.ast.stmt
Class SynchronizedStmt

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

public final class SynchronizedStmt
extends Statement

Author:
Julio Vilmar Gesser

Constructor Summary
SynchronizedStmt(int line, int column, Expression expr, BlockStmt block)
           
 
Method Summary
<R,A> R
accept(GenericVisitor<R,A> v, A arg)
           
<A> void
accept(VoidVisitor<A> v, A arg)
           
 BlockStmt getBlock()
           
 Expression getExpr()
           
 
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

SynchronizedStmt

public SynchronizedStmt(int line,
                        int column,
                        Expression expr,
                        BlockStmt block)
Method Detail

getExpr

public Expression getExpr()

getBlock

public BlockStmt getBlock()

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