Class BslResourceDescriptionStrategy

java.lang.Object
org.eclipse.xtext.resource.impl.DefaultResourceDescriptionStrategy
com._1c.g5.v8.dt.bsl.resource.BslResourceDescriptionStrategy
All Implemented Interfaces:
org.eclipse.xtext.resource.IDefaultResourceDescriptionStrategy

public class BslResourceDescriptionStrategy extends org.eclipse.xtext.resource.impl.DefaultResourceDescriptionStrategy
Resource description strategy for the Bsl language.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    createContextDefDescriptions(Module module, org.eclipse.xtext.util.IAcceptor<org.eclipse.xtext.resource.IEObjectDescription> acceptor)
    Creates descriptions for elements in ContextDef of module
    boolean
    createEObjectDescriptions(org.eclipse.emf.ecore.EObject eObject, org.eclipse.xtext.util.IAcceptor<org.eclipse.xtext.resource.IEObjectDescription> acceptor)
     
    boolean
    createReferenceDescriptions(org.eclipse.emf.ecore.EObject from, org.eclipse.emf.common.util.URI exportedContainerURI, org.eclipse.xtext.util.IAcceptor<org.eclipse.xtext.resource.IReferenceDescription> acceptor)
     

    Methods inherited from class org.eclipse.xtext.resource.impl.DefaultResourceDescriptionStrategy

    createReferenceDescription, getLazyURIEncoder, getQualifiedNameProvider, isIndexable, isResolvedAndExternal, setLazyURIEncoder, setQualifiedNameProvider

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • BslResourceDescriptionStrategy

      public BslResourceDescriptionStrategy()
  • Method Details

    • createEObjectDescriptions

      public boolean createEObjectDescriptions(org.eclipse.emf.ecore.EObject eObject, org.eclipse.xtext.util.IAcceptor<org.eclipse.xtext.resource.IEObjectDescription> acceptor)
      Specified by:
      createEObjectDescriptions in interface org.eclipse.xtext.resource.IDefaultResourceDescriptionStrategy
      Overrides:
      createEObjectDescriptions in class org.eclipse.xtext.resource.impl.DefaultResourceDescriptionStrategy
    • createReferenceDescriptions

      public boolean createReferenceDescriptions(org.eclipse.emf.ecore.EObject from, org.eclipse.emf.common.util.URI exportedContainerURI, org.eclipse.xtext.util.IAcceptor<org.eclipse.xtext.resource.IReferenceDescription> acceptor)
      Specified by:
      createReferenceDescriptions in interface org.eclipse.xtext.resource.IDefaultResourceDescriptionStrategy
      Overrides:
      createReferenceDescriptions in class org.eclipse.xtext.resource.impl.DefaultResourceDescriptionStrategy
    • createContextDefDescriptions

      protected void createContextDefDescriptions(Module module, org.eclipse.xtext.util.IAcceptor<org.eclipse.xtext.resource.IEObjectDescription> acceptor)
      Creates descriptions for elements in ContextDef of module
      Parameters:
      module - actual Bsl module, can't be null
      acceptor - special IAcceptor for collected created description