Package org.cx4a.rsense.typing

Examples of org.cx4a.rsense.typing.Graph


    private void prepare(Project project) {
        context.project = project;
        context.typeSet = new TypeSet();
        context.main = true;

        Graph graph = project.getGraph();
        graph.addSpecialMethod(TYPE_INFERENCE_METHOD_NAME, typeInferenceMethod);
        graph.addSpecialMethod("require", requireMethod);
        graph.addSpecialMethod("require_next", requireNextMethod);
        graph.setNodeDiff(new NodeDiffForTypeInference());

        require(project, "_builtin", "UTF-8");
    }
View Full Code Here


    private Set<String> loaded;

    public Project(String name, File path) {
        this.name = name;
        this.path = path;
        this.graph = new Graph();
        this.runtime = graph.getRuntime();
        this.loadPath = new ArrayList<File>();
        this.gemPath = new ArrayList<File>();
        this.loaded = new HashSet<String>();
    }
View Full Code Here

TOP

Related Classes of org.cx4a.rsense.typing.Graph

Copyright © 2018 www.massapicom. 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.