Package com._1c.g5.v8.dt.bsl.resource
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 BslResourceDescriptionStrategy()
-
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 inContextDef
ofmodule
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)
-
-
-
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 interfaceorg.eclipse.xtext.resource.IDefaultResourceDescriptionStrategy
- Overrides:
createEObjectDescriptions
in classorg.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 interfaceorg.eclipse.xtext.resource.IDefaultResourceDescriptionStrategy
- Overrides:
createReferenceDescriptions
in classorg.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 inContextDef
ofmodule
- Parameters:
module
- actual Bsl module, can't benull
acceptor
- specialIAcceptor
for collected created description
-
-