Examples of FunctionDef


Examples of org.webharvest.definition.FunctionDef

        this.callDef = callDef;
    }

    public Variable execute(Scraper scraper, ScraperContext context) {
        String functionName = BaseTemplater.execute( callDef.getName(), scraper.getScriptEngine() );
        FunctionDef functionDef = scraper.getConfiguration().getFunctionDef(functionName);

        this.setProperty("Name", functionName);

        if (functionDef == null) {
            throw new FunctionException("Function \"" + functionName + "\" is undefined!");
View Full Code Here

Examples of org.yinwang.pysonar.ast.FunctionDef

                if (t instanceof UnionType) {
                    t = ((UnionType) t).firstUseful();
                }

                if (t != null && t instanceof FunType) {
                    FunctionDef func = ((FunType) t).func;
                    if (func != null) {
                        argExpr = func.getArgumentExpr();
                    }
                }

                String typeExpr = binding.type.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.