Java 类org.eclipse.xtext.scoping.impl.SimpleLocalScopeProvider 实例源码

项目:xtext-extras    文件:ImportURIScopingFragment2.java   
@Override
public TypeReference getDelegateScopeProvider() {
  TypeReference _xifexpression = null;
  boolean _inheritsXbase = this._xbaseUsageDetector.inheritsXbase(this.getLanguage().getGrammar());
  if (_inheritsXbase) {
    _xifexpression = TypeReference.typeRef("org.eclipse.xtext.xbase.scoping.XImportSectionNamespaceScopeProvider");
  } else {
    _xifexpression = TypeReference.typeRef(SimpleLocalScopeProvider.class);
  }
  return _xifexpression;
}
项目:xtext-core    文件:ImportURIScopingFragment2.java   
@Override
public TypeReference getDelegateScopeProvider() {
  TypeReference _xifexpression = null;
  boolean _inheritsXbase = this._xbaseUsageDetector.inheritsXbase(this.getLanguage().getGrammar());
  if (_inheritsXbase) {
    _xifexpression = TypeReference.typeRef("org.eclipse.xtext.xbase.scoping.XImportSectionNamespaceScopeProvider");
  } else {
    _xifexpression = TypeReference.typeRef(SimpleLocalScopeProvider.class);
  }
  return _xifexpression;
}
项目:xtext-extras    文件:ImportURIScopingFragment.java   
@Override
protected Class<? extends IScopeProvider> getLocalScopeProvider() {
    return SimpleLocalScopeProvider.class;
}
项目:xtext-core    文件:DefaultRuntimeModule.java   
public Class<? extends IScopeProvider> bindIScopeProvider() {
    return SimpleLocalScopeProvider.class;
}
项目:xtext-core    文件:AbstractIgnoreCaseImportsTestLanguageRuntimeModule.java   
public void configureIScopeProviderDelegate(Binder binder) {
    binder.bind(IScopeProvider.class).annotatedWith(Names.named(AbstractDeclarativeScopeProvider.NAMED_DELEGATE)).to(SimpleLocalScopeProvider.class);
}
项目:xtext-core    文件:Bug311337TestLanguageRuntimeModule.java   
public void configureIScopeProviderDelegate(com.google.inject.Binder binder) {
    binder.bind(org.eclipse.xtext.scoping.IScopeProvider.class).annotatedWith(com.google.inject.name.Names.named("org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider.delegate")).to(SimpleLocalScopeProvider.class);
}