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