// // Generated by JTB 1.3.2 // package spiglet.syntaxtree; /** * Grammar production: * f0 -> "HALLOCATE" * f1 -> SimpleExp() */ public class HAllocate implements Node { public NodeToken f0; public SimpleExp f1; public HAllocate(NodeToken n0, SimpleExp n1) { f0 = n0; f1 = n1; } public HAllocate(SimpleExp n0) { f0 = new NodeToken("HALLOCATE"); f1 = n0; } public void accept(spiglet.visitor.Visitor v) { v.visit(this); } public R accept(spiglet.visitor.GJVisitor v, A argu) { return v.visit(this,argu); } public R accept(spiglet.visitor.GJNoArguVisitor v) { return v.visit(this); } public void accept(spiglet.visitor.GJVoidVisitor v, A argu) { v.visit(this,argu); } }