001 //
002 // Generated by JTB 1.3.2
003 //
004
005 package jtb.syntaxtree;
006
007 /**
008 * Grammar production:
009 * f0 -> Modifiers() ( Type() <IDENTIFIER> "(" ")" [ DefaultValue() ] ";" | ClassOrInterfaceDeclaration(modifiers) | EnumDeclaration(modifiers) | AnnotationTypeDeclaration(modifiers) | FieldDeclaration(modifiers) )
010 * | ( ";" )
011 */
012 public class AnnotationTypeMemberDeclaration implements Node {
013 static final long serialVersionUID = 20050923L;
014
015 private Node parent;
016 public NodeChoice f0;
017
018 public AnnotationTypeMemberDeclaration(NodeChoice n0) {
019 f0 = n0;
020 if ( f0 != null ) f0.setParent(this);
021 }
022
023 public void accept(jtb.visitor.Visitor v) {
024 v.visit(this);
025 }
026 public <R,A> R accept(jtb.visitor.GJVisitor<R,A> v, A argu) {
027 return v.visit(this,argu);
028 }
029 public <R> R accept(jtb.visitor.GJNoArguVisitor<R> v) {
030 return v.visit(this);
031 }
032 public <A> void accept(jtb.visitor.GJVoidVisitor<A> v, A argu) {
033 v.visit(this,argu);
034 }
035 public void setParent(Node n) { parent = n; }
036 public Node getParent() { return parent; }
037 }