项目:xtext-core
文件:PartialLinkingTest.java
protected void replaceLinker(XtextResource resource) {
Linker linker = new Linker();
DefaultLinkingService linkingService = new DefaultLinkingService();
getInjector().injectMembers(linkingService);
linkingService.setScopeProvider(this);
linker.setLinkingService(linkingService);
linker.setDiagnosticmessageProvider(new LinkingDiagnosticmessageProvider());
linker.setLinkingHelper(getInjector().getInstance(LinkingHelper.class));
resource.setLinker(linker);
}
项目:xtext-core
文件:LazyLinkingResource.java
protected DiagnosticmessageContext(Triple<EObject,EReference,INode> triple,LinkingHelper helper) {
this.triple = triple;
this.linkingHelper = helper;
}
项目:xtext-core
文件:LazyLinkingResource.java
public LinkingHelper getLinkingHelper() {
return linkingHelper;
}
项目:xtext-core
文件:LazyLinkingResource.java
public void setLinkingHelper(LinkingHelper linkingHelper) {
this.linkingHelper = linkingHelper;
}
项目:statecharts
文件:AbstractSCTResource.java
protected DiagnosticmessageContext(Triple<EObject,LinkingHelper helper) {
this.triple = triple;
this.linkingHelper = helper;
}