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