Package com._1c.g5.v8.dt.bsl.scoping
Class ImplicitVariablesScopeByOffset
java.lang.Object
com._1c.g5.modeling.xtext.scoping.LightAbstractScope
com._1c.g5.v8.dt.bsl.scoping.ImplicitVariablesScopeByOffset
- All Implemented Interfaces:
org.eclipse.xtext.scoping.IScope
-
Nested Class Summary
Nested classes/interfaces inherited from class com._1c.g5.modeling.xtext.scoping.LightAbstractScope
LightAbstractScope.EObjectFilterPredicate, LightAbstractScope.ParentIterable
-
Field Summary
Fields inherited from interface org.eclipse.xtext.scoping.IScope
NULLSCOPE
-
Constructor Summary
ConstructorsConstructorDescriptionImplicitVariablesScopeByOffset
(org.eclipse.xtext.scoping.IScope parent, ImplicitVariablesScope scope, Block block, Statement lastStatement) Initialize -
Method Summary
Modifier and TypeMethodDescriptionprotected Iterable<org.eclipse.xtext.resource.IEObjectDescription>
protected org.eclipse.xtext.resource.IEObjectDescription
getSingleLocalElementByName
(org.eclipse.xtext.naming.QualifiedName qName) protected boolean
isShadowed
(org.eclipse.xtext.resource.IEObjectDescription input) Returnstrue
if the given descriptioninput
from the parent scope is shadowed by local elements.Methods inherited from class com._1c.g5.modeling.xtext.scoping.LightAbstractScope
getAllElements, getElements, getElements, getLocalElementsByEObject, getLocalElementsByName, getParent, getParentElements, getSingleElement, getSingleElement, isIgnoreCase, toString
-
Constructor Details
-
ImplicitVariablesScopeByOffset
public ImplicitVariablesScopeByOffset(org.eclipse.xtext.scoping.IScope parent, ImplicitVariablesScope scope, Block block, Statement lastStatement) Initialize- Parameters:
parent
- parent scope, can't benull
scope
-ImplicitVariablesScope
for thisblock
, can't benull
block
-Block
of Bsl module. Can't benull
lastStatement
- lastStatement
, can benull
-
-
Method Details
-
getSingleLocalElementByName
protected org.eclipse.xtext.resource.IEObjectDescription getSingleLocalElementByName(org.eclipse.xtext.naming.QualifiedName qName) - Overrides:
getSingleLocalElementByName
in classLightAbstractScope
-
getAllLocalElements
- Specified by:
getAllLocalElements
in classLightAbstractScope
-
isShadowed
protected boolean isShadowed(org.eclipse.xtext.resource.IEObjectDescription input) Description copied from class:LightAbstractScope
Returnstrue
if the given descriptioninput
from the parent scope is shadowed by local elements.- Overrides:
isShadowed
in classLightAbstractScope
- Returns:
true
if the given descriptioninput
from the parent scope is shadowed by local elements.
-