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

public class ImplicitVariablesScopeByOffset extends LightAbstractScope
Special scope for ImplicitVariable. It contains all ImplicitVariable for initializing Block
  • Constructor Details

    • ImplicitVariablesScopeByOffset

      public ImplicitVariablesScopeByOffset(org.eclipse.xtext.scoping.IScope parent, ImplicitVariablesScope scope, Block block, Statement lastStatement)
      Initialize
      Parameters:
      parent - parent scope, can't be null
      scope - ImplicitVariablesScope for this block, can't be null
      block - Block of Bsl module. Can't be null
      lastStatement - last Statement, can be null
  • Method Details

    • getSingleLocalElementByName

      protected org.eclipse.xtext.resource.IEObjectDescription getSingleLocalElementByName(org.eclipse.xtext.naming.QualifiedName qName)
      Overrides:
      getSingleLocalElementByName in class LightAbstractScope
    • getAllLocalElements

      protected Iterable<org.eclipse.xtext.resource.IEObjectDescription> getAllLocalElements()
      Specified by:
      getAllLocalElements in class LightAbstractScope
    • isShadowed

      protected boolean isShadowed(org.eclipse.xtext.resource.IEObjectDescription input)
      Description copied from class: LightAbstractScope
      Returns true if the given description input from the parent scope is shadowed by local elements.
      Overrides:
      isShadowed in class LightAbstractScope
      Returns:
      true if the given description input from the parent scope is shadowed by local elements.