當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。