From 748308e11e6791284b302f61e5bc0d99a0957b6a Mon Sep 17 00:00:00 2001 From: Iru Cai Date: Wed, 8 Oct 2014 21:15:43 +0800 Subject: First commit --- src/kanga/syntaxtree/ErrorStmt.java | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 src/kanga/syntaxtree/ErrorStmt.java (limited to 'src/kanga/syntaxtree/ErrorStmt.java') diff --git a/src/kanga/syntaxtree/ErrorStmt.java b/src/kanga/syntaxtree/ErrorStmt.java new file mode 100644 index 0000000..b6a5b97 --- /dev/null +++ b/src/kanga/syntaxtree/ErrorStmt.java @@ -0,0 +1,35 @@ +// +// Generated by JTB 1.3.2 +// + +package kanga.syntaxtree; + +/** + * Grammar production: + * f0 -> "ERROR" + */ +public class ErrorStmt implements Node { + public NodeToken f0; + + public ErrorStmt(NodeToken n0) { + f0 = n0; + } + + public ErrorStmt() { + f0 = new NodeToken("ERROR"); + } + + public void accept(kanga.visitor.Visitor v) { + v.visit(this); + } + public R accept(kanga.visitor.GJVisitor v, A argu) { + return v.visit(this,argu); + } + public R accept(kanga.visitor.GJNoArguVisitor v) { + return v.visit(this); + } + public void accept(kanga.visitor.GJVoidVisitor v, A argu) { + v.visit(this,argu); + } +} + -- cgit v1.2.3