pt.compiler.parser.ast.stmt
Class LabeledStmt

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

public final class LabeledStmt
extends Statement

Author:
Julio Vilmar Gesser

Constructor Summary
LabeledStmt(int line, int column, java.lang.String label, Statement stmt)
           
 
Method Summary
<R,A> R
accept(GenericVisitor<R,A> v, A arg)
           
<A> void
accept(VoidVisitor<A> v, A arg)
           
 java.lang.String getLabel()
           
 Statement getStmt()
           
 
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

LabeledStmt

public LabeledStmt(int line,
                   int column,
                   java.lang.String label,
                   Statement stmt)
Method Detail

getLabel

public java.lang.String getLabel()

getStmt

public Statement getStmt()

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