Package com.redhat.ceylon.compiler.typechecker.util

Examples of com.redhat.ceylon.compiler.typechecker.util.ModuleManagerFactory


        List<File> srcs = FileUtil.applyCwd(cwd, sourceFolders);
        List<String> expandedModules = ModuleWildcardsHelper.expandWildcards(srcs , moduleSpecs);
        final List<ModuleSpec> modules = ModuleSpec.parseEachList(expandedModules);
       
        // we need to plug in the module manager which can load from .cars
        builder.moduleManagerFactory(new ModuleManagerFactory(){
            @Override
            public ModuleManager createModuleManager(Context context) {
                return new CeylonDocModuleManager(CeylonDocTool.this, context, modules, outputRepositoryManager, log);
            }
        });
View Full Code Here


    /** Get the PhasedUnits instance for this context. */
    public static PhasedUnits getPhasedUnitsInstance(final Context context) {
        PhasedUnits phasedUnits = context.get(phasedUnitsKey);
        if (phasedUnits == null) {
            com.redhat.ceylon.compiler.typechecker.context.Context ceylonContext = getCeylonContextInstance(context);
            phasedUnits = new PhasedUnits(ceylonContext, new ModuleManagerFactory(){
                @Override
                public ModuleManager createModuleManager(com.redhat.ceylon.compiler.typechecker.context.Context ceylonContext) {
                    CompilerDelegate phasedUnitsManager = getCompilerDelegate(context);
                    return phasedUnitsManager.getModuleManager();
                }
View Full Code Here

TOP

Related Classes of com.redhat.ceylon.compiler.typechecker.util.ModuleManagerFactory

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.