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

项目:xtext-extras    文件:AbstractConstructorScopeTest.java   
@Test public void testGetOuterScope_01() {
    assertSame(IScope.NULLSCOPE, ((AbstractScope)getConstructorScope()).getParent());
}
项目:xtext-extras    文件:AbstractTypeScopeTest.java   
@Test public void testGetOuterScope_01() {
    assertSame(IScope.NULLSCOPE, ((AbstractScope)getTypeScope()).getParent());
}
项目:xtext-core    文件:ScopeTest.java   
private AbstractScope getEcoreClassifiersScope() {
    return new SimpleScope(getEcoreClassesScope(),Scopes.scopedElementsFor(Iterables.filter(EcorePackage.eINSTANCE.getEClassifiers(),
                    EDataType.class)));
}
项目:xtext-core    文件:ScopeTest.java   
private AbstractScope getEcoreClassesScope() {
    return new SimpleScope(IScope.NULLSCOPE,Scopes.scopedElementsFor(Iterables
                    .filter(EcorePackage.eINSTANCE.getEClassifiers(), EClass.class)));
}