pt.compiler.parser.ast.expr
Class SingleMemberAnnotationExpr

java.lang.Object
  extended by pt.compiler.parser.ast.Node
      extended by pt.compiler.parser.ast.expr.Expression
          extended by pt.compiler.parser.ast.expr.AnnotationExpr
              extended by pt.compiler.parser.ast.expr.SingleMemberAnnotationExpr

public final class SingleMemberAnnotationExpr
extends AnnotationExpr

Author:
Julio Vilmar Gesser

Constructor Summary
SingleMemberAnnotationExpr(int line, int column, NameExpr name, Expression memberValue)
           
 
Method Summary
<R,A> R
accept(GenericVisitor<R,A> v, A arg)
           
<A> void
accept(VoidVisitor<A> v, A arg)
           
 Expression getMemberValue()
           
 NameExpr getName()
           
 
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

SingleMemberAnnotationExpr

public SingleMemberAnnotationExpr(int line,
                                  int column,
                                  NameExpr name,
                                  Expression memberValue)
Method Detail

getName

public NameExpr getName()

getMemberValue

public Expression getMemberValue()

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