Examples of ASTList


Examples of org.apache.cayenne.exp.parser.ASTList

     */
    public static Expression inExp(String pathSpec, Collection<?> values) {
        if (values.isEmpty()) {
            return new ASTFalse();
        }
        return new ASTIn(new ASTObjPath(pathSpec), new ASTList(values));
    }
View Full Code Here

Examples of org.apache.cayenne.exp.parser.ASTList

     */
    public static Expression inDbExp(String pathSpec, Collection<?> values) {
        if (values.isEmpty()) {
            return new ASTFalse();
        }
        return new ASTIn(new ASTDbPath(pathSpec), new ASTList(values));
    }
View Full Code Here

Examples of org.python.core.AstList

                }
                Argument arg = makeArgFromNode(argNode, defaultValue);
                argsList.add(arg);
            }
        }
        AstList body = (AstList) defn.getBody();
        Object firstChildNode = body.get(0);
        String docNode = "";
        if (firstChildNode instanceof Expr) {
            CommonTree firstChild = ((Expr) firstChildNode).getNode();
            docNode = firstChild.toString();
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.