Examples of GetAstNodeFunction


Examples of codeStatistics.xpathfunctions.GetAstNodeFunction

    for (TreePath path : selection.getPaths()) {
      roots.add(path.getFirstSegment());
    }
    Processor proc = new Processor(false);
    ItemTypeFactory fact = new ItemTypeFactory(proc);
    GetAstNodeFunction func = new GetAstNodeFunction(fact);
    proc.registerExtensionFunction(func);
    proc.registerExtensionFunction(new AstTextExtensionFunction(fact));
    AnalysisPluginsManager.initialiseExtensions();
    ExtensionFunctions extFuncs = new ExtensionFunctions(fact, proc);
   
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.