001//
002// Generated by JTB 1.1.2
003//
004
005package jtb.cparser.syntaxtree;
006
007// Grammar production:
008// f0 -> DeclarationSpecifiers()
009// f1 -> [ InitDeclaratorList() ]
010// f2 -> ";"
011public class Declaration implements Node {
012  static final long serialVersionUID = 20050923L;
013
014   public DeclarationSpecifiers f0;
015   public NodeOptional f1;
016   public NodeToken f2;
017
018   public Declaration(DeclarationSpecifiers n0, NodeOptional n1, NodeToken n2) {
019      f0 = n0;
020      f1 = n1;
021      f2 = n2;
022   }
023
024   public Declaration(DeclarationSpecifiers n0, NodeOptional n1) {
025      f0 = n0;
026      f1 = n1;
027      f2 = new NodeToken(";");
028   }
029
030   public void accept(jtb.cparser.visitor.Visitor v) {
031      v.visit(this);
032   }
033}