001//
002// Generated by JTB 1.3.2
003//
004
005package jtb.syntaxtree;
006
007// Grammar production:
008// f0 -> ( ( "public" | "static" | "protected" | "private" | "final" | "abstract" | "synchronized" | "native" | "transient" | "volatile" | "strictfp" | Annotation() ) )*
009public class Modifiers implements Node {
010   // This was added after running jtb to remove serializable warning.
011   static final long serialVersionUID = 20150406L;
012
013   private Node parent;
014   public NodeListOptional f0;
015
016   public Modifiers(NodeListOptional n0) {
017      f0 = n0;
018      if ( f0 != null ) f0.setParent(this);
019   }
020
021   public void accept(jtb.visitor.Visitor v) {
022      v.visit(this);
023   }
024   public <R,A> R accept(jtb.visitor.GJVisitor<R,A> v, A argu) {
025      return v.visit(this,argu);
026   }
027   public <R> R accept(jtb.visitor.GJNoArguVisitor<R> v) {
028      return v.visit(this);
029   }
030   public <A> void accept(jtb.visitor.GJVoidVisitor<A> v, A argu) {
031      v.visit(this,argu);
032   }
033   public void setParent(Node n) { parent = n; }
034   public Node getParent()       { return parent; }
035}
036