1 2 12 package com.versant.core.jdo.query; 13 14 import com.versant.core.common.Debug; 15 16 19 public class ArrayNode extends Node { 20 21 public Node args; 22 public String name; 23 24 public ArrayNode() { 25 } 26 27 public void dump(String indent) { 28 super.dump(indent); 29 if(name != null) { Debug.OUT.println(indent+ "name = "+name); } 30 else{Debug.OUT.println(indent+ "no_name"); } 31 if(args != null ) { args.dump(indent+" "); } 32 } 33 34 public Field visit(MemVisitor visitor, Object obj) { 35 return visitor.visitArrayNode(this, obj); 36 } 37 38 public Object arrive(NodeVisitor v, Object msg) { 39 return v.arriveArrayNode(this, msg); 40 } 41 } 42 | Popular Tags |