public Object newIn(int line, int column, boolean not, Object expr, Object subquery) { InNode node = new InNode(); if (not) node.indicateNot(); node.setLeft((Node) expr); node.addNodeToTheObjects((Node) subquery); setPosition(node, line, column); return node; }
public Object newIn(int line, int column, boolean not, Object expr, List items) { InNode node = new InNode(); if (not) node.indicateNot(); node.setLeft((Node) expr); node.setTheObjects(items); setPosition(node, line, column); return node; }