// // Generated by JTB 1.3.2 // package spiglet.syntaxtree; /** * Grammar production: * f0 -> "TEMP" * f1 -> IntegerLiteral() */ public class Temp implements Node { public NodeToken f0; public IntegerLiteral f1; public Temp(NodeToken n0, IntegerLiteral n1) { f0 = n0; f1 = n1; } public Temp(IntegerLiteral n0) { f0 = new NodeToken("TEMP"); 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); } }