Class 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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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
    • Constructor Detail

      • BslResourceDescriptionStrategy

        public BslResourceDescriptionStrategy()
    • Method Detail

      • 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