Package com._1c.g5.v8.dt.bsl.scoping
Class MethodVariablesScope
- 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.MethodVariablesScope
-
- All Implemented Interfaces:
org.eclipse.xtext.scoping.IScope
public class MethodVariablesScope extends BlockVariablesScope
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com._1c.g5.modeling.xtext.scoping.LightAbstractScope
LightAbstractScope.EObjectFilterPredicate, LightAbstractScope.ParentIterable
-
-
Constructor Summary
Constructors Constructor Description MethodVariablesScope(org.eclipse.xtext.scoping.IScope parent, Method method)Initialize
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected VariablefindByName(String name)FindVariableby nameprotected FormalParamfindFormalParam(String name)GetsFormalParamby nameprotected Iterable<org.eclipse.xtext.resource.IEObjectDescription>prepareAllLocalElements()Gets allIEObjectDescriptionfor local element inBlockprotected Iterable<org.eclipse.xtext.resource.IEObjectDescription>prepareFormalParams()-
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
-
-
-
-
Method Detail
-
findByName
protected Variable findByName(String name)
Description copied from class:BlockVariablesScopeFindVariableby name- Specified by:
findByNamein classBlockVariablesScope- Parameters:
name- name of the looking for variable- Returns:
- found
Variableornull
-
prepareAllLocalElements
protected Iterable<org.eclipse.xtext.resource.IEObjectDescription> prepareAllLocalElements()
Description copied from class:BlockVariablesScopeGets allIEObjectDescriptionfor local element inBlock- Specified by:
prepareAllLocalElementsin classBlockVariablesScope- Returns:
- iterable object of
IEObjectDescription
-
findFormalParam
protected FormalParam findFormalParam(String name)
GetsFormalParamby name- Parameters:
name- name of the parameters- Returns:
- find parameters or
null
-
prepareFormalParams
protected Iterable<org.eclipse.xtext.resource.IEObjectDescription> prepareFormalParams()
- Returns:
- iterable object of
IEObjectDescription
-
-