Package com._1c.g5.v8.dt.bsl.scoping
Class BslScopeProvider
- java.lang.Object
-
- org.eclipse.xtext.scoping.impl.AbstractScopeProvider
-
- com._1c.g5.v8.dt.bsl.scoping.BslScopeProvider
-
- All Implemented Interfaces:
org.eclipse.xtext.scoping.impl.IDelegatingScopeProvider,org.eclipse.xtext.scoping.IScopeProvider
public class BslScopeProvider extends org.eclipse.xtext.scoping.impl.AbstractScopeProvider implements org.eclipse.xtext.scoping.impl.IDelegatingScopeProviderThis class contains custom scoping description. see : http://www.eclipse.org/Xtext/documentation/latest/xtext.html#scoping on how and when to use it
-
-
Constructor Summary
Constructors Constructor Description BslScopeProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.xtext.scoping.IScopegetContextVariablesScope(Module module, Method method)Gets context scope of variable - module properties, global context properties and system enum propertiesorg.eclipse.xtext.scoping.IScopeProvidergetDelegate()org.eclipse.xtext.scoping.IScopegetScope(org.eclipse.emf.ecore.EObject context, org.eclipse.emf.ecore.EReference reference)org.eclipse.xtext.scoping.IScopegetUserVariablesScope(VariablesScopeSpec spec)Gets scope of user variables
-
-
-
Method Detail
-
getScope
public org.eclipse.xtext.scoping.IScope getScope(org.eclipse.emf.ecore.EObject context, org.eclipse.emf.ecore.EReference reference)- Specified by:
getScopein interfaceorg.eclipse.xtext.scoping.IScopeProvider
-
getDelegate
public org.eclipse.xtext.scoping.IScopeProvider getDelegate()
- Specified by:
getDelegatein interfaceorg.eclipse.xtext.scoping.impl.IDelegatingScopeProvider
-
getUserVariablesScope
public org.eclipse.xtext.scoping.IScope getUserVariablesScope(VariablesScopeSpec spec)
Gets scope of user variables- Parameters:
spec- parameters for creating scope, can't benull- Returns:
- scope of user variables, never
null
-
-