当前位置: 首页>>代码示例>>Java>>正文


Java ILanguagePathService类代码示例

本文整理汇总了Java中org.metaborg.core.build.paths.ILanguagePathService的典型用法代码示例。如果您正苦于以下问题:Java ILanguagePathService类的具体用法?Java ILanguagePathService怎么用?Java ILanguagePathService使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


ILanguagePathService类属于org.metaborg.core.build.paths包,在下文中一共展示了ILanguagePathService类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: JpsSpoofaxMetaBuilder

import org.metaborg.core.build.paths.ILanguagePathService; //导入依赖的package包/类
@Inject
public JpsSpoofaxMetaBuilder(
        final LanguageSpecBuilder builder,
        final ILanguageManager languageManager,
        final IMetaborgConfigService extensionService,
        final ILanguagePathService languagePathService,
        final IDependencyService dependencyService,
        final SpoofaxProcessorRunner processorRunner,
        final BuilderMessageFormatter messageFormatter,
        final IJpsProjectService projectService,
        final ISpoofaxLanguageSpecService languageSpecService
) {
    this.builder = builder;
    this.languageManager = languageManager;
    this.extensionService = extensionService;
    this.languagePathService = languagePathService;
    this.dependencyService = dependencyService;
    this.processorRunner = processorRunner;
    this.messageFormatter = messageFormatter;
    this.projectService = projectService;
    this.languageSpecService = languageSpecService;
}
 
开发者ID:metaborg,项目名称:spoofax-intellij,代码行数:23,代码来源:JpsSpoofaxMetaBuilder.java

示例2: init

import org.metaborg.core.build.paths.ILanguagePathService; //导入依赖的package包/类
public static void init(Injector newInjector) {
    if(injector != null) {
        return;
    }

    injector = newInjector;
    resourceService = newInjector.getInstance(IResourceService.class);
    languageService = newInjector.getInstance(ILanguageService.class);
    languageIdentifierService = newInjector.getInstance(ILanguageIdentifierService.class);
    languagePathService = newInjector.getInstance(ILanguagePathService.class);
    projectService = newInjector.getInstance(IProjectService.class);
    languageSpecService = newInjector.getInstance(ISpoofaxLanguageSpecService.class);
    sourceTextService = newInjector.getInstance(ISourceTextService.class);
    unitService = newInjector.getInstance(ISpoofaxUnitService.class);
    syntaxService = newInjector.getInstance(ISpoofaxSyntaxService.class);
    termFactoryService = newInjector.getInstance(ITermFactoryService.class);
}
 
开发者ID:metaborg,项目名称:spoofax,代码行数:18,代码来源:SpoofaxContext.java

示例3: LanguageSpecBuilder

import org.metaborg.core.build.paths.ILanguagePathService; //导入依赖的package包/类
@Inject public LanguageSpecBuilder(Injector injector, IResourceService resourceService,
    ISourceTextService sourceTextService, ILanguageIdentifierService languageIdentifierService,
    IDependencyService dependencyService, ILanguagePathService languagePathService, ISpoofaxProcessorRunner runner,
    Set<IBuildStep> buildSteps, ILanguageComponentConfigBuilder componentConfigBuilder,
    ILanguageComponentConfigWriter componentConfigWriter) {
    this.injector = injector;
    this.resourceService = resourceService;
    this.sourceTextService = sourceTextService;
    this.languageIdentifierService = languageIdentifierService;
    this.dependencyService = dependencyService;
    this.languagePathService = languagePathService;
    this.runner = runner;
    this.componentConfigBuilder = componentConfigBuilder;
    this.componentConfigWriter = componentConfigWriter;
    this.buildSteps = buildSteps;
}
 
开发者ID:metaborg,项目名称:spoofax,代码行数:17,代码来源:LanguageSpecBuilder.java

示例4: Builder

import org.metaborg.core.build.paths.ILanguagePathService; //导入依赖的package包/类
@Inject public Builder(IResourceService resourceService, ILanguageIdentifierService languageIdentifier,
    ILanguagePathService languagePathService, IUnitService<I, P, A, AU, TP, TA> unitService,
    ISourceTextService sourceTextService, ISyntaxService<I, P> syntaxService, IContextService contextService,
    IAnalysisService<P, A, AU> analysisService, ITransformService<P, A, TP, TA> transformService,
    IParseResultUpdater<P> parseResultUpdater, IAnalysisResultUpdater<P, A> analysisResultUpdater,
    Provider<IBuildOutputInternal<P, A, AU, T>> buildOutputProvider) {
    this.resourceService = resourceService;
    this.languageIdentifier = languageIdentifier;
    this.languagePathService = languagePathService;
    this.unitService = unitService;
    this.sourceTextService = sourceTextService;
    this.syntaxService = syntaxService;
    this.contextService = contextService;
    this.analysisService = analysisService;
    this.transformService = transformService;

    this.parseResultUpdater = parseResultUpdater;
    this.analysisResultUpdater = analysisResultUpdater;

    this.buildOutputProvider = buildOutputProvider;
}
 
开发者ID:metaborg,项目名称:spoofax,代码行数:22,代码来源:Builder.java

示例5: LocalAnalyzeCommand

import org.metaborg.core.build.paths.ILanguagePathService; //导入依赖的package包/类
@Inject public LocalAnalyzeCommand(ISourceTextService sourceTextService, IDependencyService dependencyService,
                                   ILanguagePathService languagePathService, ISpoofaxProcessorRunner runner, IStrategoCommon strategoCommon,
                                   ProjectPathDelegate languageSpecPathDelegate, InputDelegate inputDelegate, LanguagesDelegate languagesDelegate) {
    super(sourceTextService, dependencyService, languagePathService, runner, strategoCommon, languageSpecPathDelegate,
        inputDelegate);
    this.languagesDelegate = languagesDelegate;
}
 
开发者ID:metaborg,项目名称:spoofax-sunshine,代码行数:8,代码来源:LocalAnalyzeCommand.java

示例6: LocalParseCommand

import org.metaborg.core.build.paths.ILanguagePathService; //导入依赖的package包/类
@Inject public LocalParseCommand(ISourceTextService sourceTextService, IDependencyService dependencyService,
                                 ILanguagePathService languagePathService, ISpoofaxProcessorRunner runner, IStrategoCommon strategoCommon,
                                 ProjectPathDelegate projectPathDelegate, InputDelegate inputDelegate, LanguagesDelegate languagesDelegate) {
    super(sourceTextService, dependencyService, languagePathService, runner, strategoCommon, projectPathDelegate,
        inputDelegate);
    this.languagesDelegate = languagesDelegate;
}
 
开发者ID:metaborg,项目名称:spoofax-sunshine,代码行数:8,代码来源:LocalParseCommand.java

示例7: LocalTransformCommand

import org.metaborg.core.build.paths.ILanguagePathService; //导入依赖的package包/类
@Inject public LocalTransformCommand(ISourceTextService sourceTextService, IDependencyService dependencyService,
                                     ILanguagePathService languagePathService, ISpoofaxProcessorRunner runner,
                                     IStrategoCommon strategoTransformerCommon, ProjectPathDelegate languageSpecPathDelegate, InputDelegate inputDelegate,
                                     LanguagesDelegate languagesDelegate) {
    super(sourceTextService, dependencyService, languagePathService, runner, strategoTransformerCommon,
            languageSpecPathDelegate, inputDelegate);
    this.languagesDelegate = languagesDelegate;
}
 
开发者ID:metaborg,项目名称:spoofax-sunshine,代码行数:9,代码来源:LocalTransformCommand.java

示例8: BuildCommand

import org.metaborg.core.build.paths.ILanguagePathService; //导入依赖的package包/类
@Inject public BuildCommand(ISourceTextService sourceTextService, IDependencyService dependencyService,
    ILanguagePathService languagePathService, ISpoofaxProcessorRunner runner,
    ProjectPathDelegate projectPathDelegate) {
    this.sourceTextService = sourceTextService;
    this.dependencyService = dependencyService;
    this.languagePathService = languagePathService;
    this.runner = runner;
    this.projectPathDelegate = projectPathDelegate;
}
 
开发者ID:metaborg,项目名称:spoofax-sunshine,代码行数:10,代码来源:BuildCommand.java

示例9: AnalyzeCommand

import org.metaborg.core.build.paths.ILanguagePathService; //导入依赖的package包/类
public AnalyzeCommand(ISourceTextService sourceTextService, IDependencyService dependencyService,
    ILanguagePathService languagePathService, ISpoofaxProcessorRunner runner, IStrategoCommon strategoCommon,
    ProjectPathDelegate projectPathDelegate, InputDelegate inputDelegate) {
    this.sourceTextService = sourceTextService;
    this.dependencyService = dependencyService;
    this.languagePathService = languagePathService;
    this.runner = runner;
    this.strategoCommon = strategoCommon;
    this.projectPathDelegate = projectPathDelegate;
    this.inputDelegate = inputDelegate;
}
 
开发者ID:metaborg,项目名称:spoofax-sunshine,代码行数:12,代码来源:AnalyzeCommand.java

示例10: ParseCommand

import org.metaborg.core.build.paths.ILanguagePathService; //导入依赖的package包/类
@Inject public ParseCommand(ISourceTextService sourceTextService, IDependencyService dependencyService,
    ILanguagePathService languagePathService, ISpoofaxProcessorRunner runner, IStrategoCommon strategoCommon,
    ProjectPathDelegate projectPathDelegate, InputDelegate inputDelegate) {
    this.sourceTextService = sourceTextService;
    this.dependencyService = dependencyService;
    this.languagePathService = languagePathService;
    this.runner = runner;
    this.strategoCommon = strategoCommon;
    this.projectPathDelegate = projectPathDelegate;
    this.inputDelegate = inputDelegate;
}
 
开发者ID:metaborg,项目名称:spoofax-sunshine,代码行数:12,代码来源:ParseCommand.java

示例11: TransformCommand

import org.metaborg.core.build.paths.ILanguagePathService; //导入依赖的package包/类
@Inject public TransformCommand(ISourceTextService sourceTextService, IDependencyService dependencyService,
    ILanguagePathService languagePathService, ISpoofaxProcessorRunner runner,
    IStrategoCommon strategoTransformerCommon, ProjectPathDelegate projectPathDelegate,
    InputDelegate inputDelegate) {
    this.sourceTextService = sourceTextService;
    this.dependencyService = dependencyService;
    this.languagePathService = languagePathService;
    this.runner = runner;
    this.common = strategoTransformerCommon;
    this.projectPathDelegate = projectPathDelegate;
    this.inputDelegate = inputDelegate;
}
 
开发者ID:metaborg,项目名称:spoofax-sunshine,代码行数:13,代码来源:TransformCommand.java

示例12: RemoteParseCommand

import org.metaborg.core.build.paths.ILanguagePathService; //导入依赖的package包/类
@Inject public RemoteParseCommand(ISourceTextService sourceTextService, IDependencyService dependencyService,
                                  ILanguagePathService languagePathService, ISpoofaxProcessorRunner runner, IStrategoCommon strategoCommon,
                                  ProjectPathDelegate projectPathDelegate, InputDelegate inputDelegate, ILanguageService languageService) {
    super(sourceTextService, dependencyService, languagePathService, runner, strategoCommon, projectPathDelegate,
        inputDelegate);
    this.languageService = languageService;
}
 
开发者ID:metaborg,项目名称:spoofax-sunshine,代码行数:8,代码来源:RemoteParseCommand.java

示例13: RemoteTransformCommand

import org.metaborg.core.build.paths.ILanguagePathService; //导入依赖的package包/类
@Inject public RemoteTransformCommand(ISourceTextService sourceTextService, IDependencyService dependencyService,
                                      ILanguagePathService languagePathService, ISpoofaxProcessorRunner runner,
                                      IStrategoCommon strategoTransformerCommon, ProjectPathDelegate languageSpecPathDelegate, InputDelegate inputDelegate,
                                      ILanguageService languageService) {
    super(sourceTextService, dependencyService, languagePathService, runner, strategoTransformerCommon,
            languageSpecPathDelegate, inputDelegate);
    this.languageService = languageService;
}
 
开发者ID:metaborg,项目名称:spoofax-sunshine,代码行数:9,代码来源:RemoteTransformCommand.java

示例14: RemoteAnalyzeCommand

import org.metaborg.core.build.paths.ILanguagePathService; //导入依赖的package包/类
@Inject public RemoteAnalyzeCommand(ISourceTextService sourceTextService, IDependencyService dependencyService,
                                    ILanguagePathService languagePathService, ISpoofaxProcessorRunner runner, IStrategoCommon strategoCommon,
                                    ProjectPathDelegate languageSpecPathDelegate, InputDelegate inputDelegate, ILanguageService languageService) {
    super(sourceTextService, dependencyService, languagePathService, runner, strategoCommon, languageSpecPathDelegate,
        inputDelegate);
    this.languageService = languageService;
}
 
开发者ID:metaborg,项目名称:spoofax-sunshine,代码行数:8,代码来源:RemoteAnalyzeCommand.java

示例15: MetaBorg

import org.metaborg.core.build.paths.ILanguagePathService; //导入依赖的package包/类
/**
 * Instantiate the MetaBorg API.
 * 
 * @param loader
 *            Module plugin loader to use.
 * @param module
 *            MetaBorg module to use.
 * @param additionalModules
 *            Additional modules to use.
 * 
 * @throws MetaborgException
 *             When loading plugins or dependency injection fails.
 */
@SuppressWarnings("unchecked") public MetaBorg(IModulePluginLoader loader, MetaborgModule module,
    Module... additionalModules) throws MetaborgException {
    final Collection<Module> metaborgModules = Lists.newArrayList(additionalModules);
    metaborgModules.add(module);
    final Iterable<Module> modules = InjectorFactory.modules(loader, metaborgModules);
    this.injector = InjectorFactory.create(modules);

    this.autoCloseables = (Set<AutoCloseable>) injector.getInstance(Key.get(Types.setOf(AutoCloseable.class)));

    this.resourceService = injector.getInstance(IResourceService.class);
    this.languageService = injector.getInstance(ILanguageService.class);
    this.languageComponentFactory = injector.getInstance(ILanguageComponentFactory.class);
    this.languageDiscoveryService = injector.getInstance(ILanguageDiscoveryService.class);
    this.languageIdentifierService = injector.getInstance(ILanguageIdentifierService.class);
    this.languagePathService = injector.getInstance(ILanguagePathService.class);
    this.dialectProcessor = injector.getInstance(IDialectProcessor.class);

    this.contextService = injector.getInstance(IContextService.class);

    this.dependencyService = injector.getInstance(IDependencyService.class);
    this.projectService = injector.getInstance(IProjectService.class);

    this.sourceTextService = injector.getInstance(ISourceTextService.class);

    this.editorRegistry = injector.getInstance(IEditorRegistry.class);
}
 
开发者ID:metaborg,项目名称:spoofax,代码行数:40,代码来源:MetaBorg.java


注:本文中的org.metaborg.core.build.paths.ILanguagePathService类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。