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.IDelegatingScopeProvider
This 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 -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.xtext.scoping.IScope
getContextVariablesScope
(Module module, Method method) Gets context scope of variable - module properties, global context properties and system enum propertiesorg.eclipse.xtext.scoping.IScopeProvider
org.eclipse.xtext.scoping.IScope
getScope
(org.eclipse.emf.ecore.EObject context, org.eclipse.emf.ecore.EReference reference) org.eclipse.xtext.scoping.IScope
Gets scope of user variablesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.xtext.scoping.impl.IDelegatingScopeProvider
setWrapper
-
Constructor Details
-
BslScopeProvider
public BslScopeProvider()
-
-
Method Details
-
getScope
public org.eclipse.xtext.scoping.IScope getScope(org.eclipse.emf.ecore.EObject context, org.eclipse.emf.ecore.EReference reference) - Specified by:
getScope
in interfaceorg.eclipse.xtext.scoping.IScopeProvider
-
getDelegate
public org.eclipse.xtext.scoping.IScopeProvider getDelegate()- Specified by:
getDelegate
in interfaceorg.eclipse.xtext.scoping.impl.IDelegatingScopeProvider
-
getUserVariablesScope
Gets scope of user variables- Parameters:
spec
- parameters for creating scope, can't benull
- Returns:
- scope of user variables, never
null
-
getContextVariablesScope
Gets context scope of variable - module properties, global context properties and system enum properties
-