Java 类org.eclipse.xtext.xbase.scoping.XImportSectionNamespaceScopeProvider 实例源码

项目:xtext-extras    文件:ConstantConditionsInterpreter.java   
private boolean isFromXbaseLibrary(final XAbstractFeatureCall it, final EvaluationContext context) {
  boolean _xblockexpression = false;
  {
    final JvmIdentifiableElement feature = this.getFeature(it, context);
    boolean _switchResult = false;
    boolean _matched = false;
    if (feature instanceof JvmMember) {
      _matched=true;
      JvmDeclaredType _declaringType = null;
      if (((JvmMember)feature)!=null) {
        _declaringType=((JvmMember)feature).getDeclaringType();
      }
      String _packageName = null;
      if (_declaringType!=null) {
        _packageName=_declaringType.getPackageName();
      }
      String _string = XImportSectionNamespaceScopeProvider.XBASE_LIB.toString();
      _switchResult = Objects.equal(_packageName, _string);
    }
    if (!_matched) {
      _switchResult = false;
    }
    _xblockexpression = _switchResult;
  }
  return _xblockexpression;
}
项目:gw4e.project    文件:AbstractDSLPoliciesRuntimeModule.java   
public void configureIScopeProviderDelegate(Binder binder) {
    binder.bind(IScopeProvider.class).annotatedWith(Names.named(AbstractDeclarativeScopeProvider.NAMED_DELEGATE)).to(XImportSectionNamespaceScopeProvider.class);
}
项目:xtext-extras    文件:AbstractPureXbaseRuntimeModule.java   
public void configureIScopeProviderDelegate(Binder binder) {
    binder.bind(IScopeProvider.class).annotatedWith(Names.named(AbstractDeclarativeScopeProvider.NAMED_DELEGATE)).to(XImportSectionNamespaceScopeProvider.class);
}
项目:xtext-extras    文件:AbstractXbaseRuntimeModule.java   
public void configureIScopeProviderDelegate(Binder binder) {
    binder.bind(IScopeProvider.class).annotatedWith(Names.named(AbstractDeclarativeScopeProvider.NAMED_DELEGATE)).to(XImportSectionNamespaceScopeProvider.class);
}
项目:xtext-extras    文件:AbstractXbaseWithAnnotationsRuntimeModule.java   
public void configureIScopeProviderDelegate(Binder binder) {
    binder.bind(IScopeProvider.class).annotatedWith(Names.named(AbstractDeclarativeScopeProvider.NAMED_DELEGATE)).to(XImportSectionNamespaceScopeProvider.class);
}
项目:xtext-extras    文件:AbstractBug462047LangRuntimeModule.java   
public void configureIScopeProviderDelegate(Binder binder) {
    binder.bind(IScopeProvider.class).annotatedWith(Names.named(AbstractDeclarativeScopeProvider.NAMED_DELEGATE)).to(XImportSectionNamespaceScopeProvider.class);
}
项目:xtext-extras    文件:AbstractXImportSectionTestLangRuntimeModule.java   
public void configureIScopeProviderDelegate(Binder binder) {
    binder.bind(IScopeProvider.class).annotatedWith(Names.named(AbstractDeclarativeScopeProvider.NAMED_DELEGATE)).to(XImportSectionNamespaceScopeProvider.class);
}
项目:xtext-extras    文件:AbstractContentAssistFragmentTestLangRuntimeModule.java   
public void configureIScopeProviderDelegate(Binder binder) {
    binder.bind(IScopeProvider.class).annotatedWith(Names.named(AbstractDeclarativeScopeProvider.NAMED_DELEGATE)).to(XImportSectionNamespaceScopeProvider.class);
}
项目:dsl-devkit    文件:FormatRuntimeModule.java   
/** {@inheritDoc} */
@Override
public void configureIScopeProviderDelegate(final com.google.inject.Binder binder) {
  binder.bind(org.eclipse.xtext.scoping.IScopeProvider.class).annotatedWith(Names.named(org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider.NAMED_DELEGATE)).to(XImportSectionNamespaceScopeProvider.class);
}
项目:dsl-devkit    文件:CheckRuntimeModule.java   
@Override
public void configureIScopeProviderDelegate(final com.google.inject.Binder binder) {
  binder.bind(IScopeProvider.class).annotatedWith(Names.named(org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider.NAMED_DELEGATE)).to(XImportSectionNamespaceScopeProvider.class);
}
项目:dsl-devkit    文件:CheckCfgRuntimeModule.java   
@Override
public void configureIScopeProviderDelegate(final com.google.inject.Binder binder) {
  binder.bind(IScopeProvider.class).annotatedWith(Names.named(org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider.NAMED_DELEGATE)).to(XImportSectionNamespaceScopeProvider.class);
}
项目:XRobot    文件:XRobotDSLRuntimeModule.java   
public Class<? extends XImportSectionNamespaceScopeProvider> bindXImportSectionNamespaceScopeProvider() {
    return XRobotImportedNamespaceScopeProvider.class;
}