Package com._1c.g5.v8.dt.bsl.scoping
Class ModuleVariablesScope
java.lang.Object
com._1c.g5.modeling.xtext.scoping.LightAbstractScope
com._1c.g5.v8.dt.bsl.scoping.BlockVariablesScope
com._1c.g5.v8.dt.bsl.scoping.ModuleVariablesScope
- All Implemented Interfaces:
org.eclipse.xtext.scoping.IScope
Special scope for getting
Variable
from Bsl module-
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
ConstructorsConstructorDescriptionModuleVariablesScope
(org.eclipse.xtext.scoping.IScope parent, Module module, com.google.common.base.Predicate<DeclareStatement> filter) Initialize -
Method Summary
Methods inherited from class com._1c.g5.v8.dt.bsl.scoping.BlockVariablesScope
findExplicitVariable, getAllLocalElements, getSingleLocalElementByName, isShadowed, prepareExplicitVariables
Methods inherited from class com._1c.g5.modeling.xtext.scoping.LightAbstractScope
getAllElements, getElements, getElements, getLocalElementsByEObject, getLocalElementsByName, getParent, getParentElements, getSingleElement, getSingleElement, isIgnoreCase, toString
-
Constructor Details
-
ModuleVariablesScope
public ModuleVariablesScope(org.eclipse.xtext.scoping.IScope parent, Module module, com.google.common.base.Predicate<DeclareStatement> filter) Initialize- Parameters:
parent
- parent scope. Can't benull
module
- Bsl modulefilter
- filter forVariable
in module
-
-
Method Details
-
findByName
Description copied from class:BlockVariablesScope
FindVariable
by name- Specified by:
findByName
in classBlockVariablesScope
- Parameters:
name
- name of the looking for variable- Returns:
- found
Variable
ornull
-
prepareAllLocalElements
Description copied from class:BlockVariablesScope
Gets allIEObjectDescription
for local element inBlock
- Specified by:
prepareAllLocalElements
in classBlockVariablesScope
- Returns:
- iterable object of
IEObjectDescription
-