Пример #1
0
 public SqlNode visit(SqlNodeList list) {
   SqlNodeList copy = new SqlNodeList(list.getParserPosition());
   for (SqlNode node : list) {
     copy.add(node.accept(this));
   }
   return copy;
 }
Пример #2
0
 /** Copies a list of nodes. */
 public static SqlNodeList copy(SqlValidatorScope scope, SqlNodeList list) {
   return (SqlNodeList) list.accept(new DeepCopier(scope));
 }