本文整理汇总了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;
}
示例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);
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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);
}