001// 002// Generated by JTB 1.3.2 003// 004 005package jtb.syntaxtree; 006 007// Grammar production: 008// f0 -> "=" 009// | "*=" 010// | "/=" 011// | "%=" 012// | "+=" 013// | "-=" 014// | "<<=" 015// | ">>=" 016// | ">>>=" 017// | "&=" 018// | "^=" 019// | "|=" 020public class AssignmentOperator implements Node { 021 // This was added after running jtb to remove serializable warning. 022 static final long serialVersionUID = 20150406L; 023 024 private Node parent; 025 public NodeChoice f0; 026 027 public AssignmentOperator(NodeChoice n0) { 028 f0 = n0; 029 if ( f0 != null ) f0.setParent(this); 030 } 031 032 public void accept(jtb.visitor.Visitor v) { 033 v.visit(this); 034 } 035 public <R,A> R accept(jtb.visitor.GJVisitor<R,A> v, A argu) { 036 return v.visit(this,argu); 037 } 038 public <R> R accept(jtb.visitor.GJNoArguVisitor<R> v) { 039 return v.visit(this); 040 } 041 public <A> void accept(jtb.visitor.GJVoidVisitor<A> v, A argu) { 042 v.visit(this,argu); 043 } 044 public void setParent(Node n) { parent = n; } 045 public Node getParent() { return parent; } 046} 047