Class BslLinker

  • All Implemented Interfaces:
    org.eclipse.xtext.linking.ILinker

    public class BslLinker
    extends org.eclipse.xtext.linking.lazy.LazyLinker
    Special linker for Bsl language. Contains methods for instantiating proxies for Bsl cross references elements
    • Constructor Summary

      Constructors 
      Constructor Description
      BslLinker()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void beforeModelLinked​(org.eclipse.emf.ecore.EObject model, org.eclipse.xtext.diagnostics.IDiagnosticConsumer diagnosticsConsumer)  
      protected void doLinkModel​(org.eclipse.emf.ecore.EObject model, org.eclipse.xtext.diagnostics.IDiagnosticConsumer consumer)  
      protected boolean hasLeafNodes​(org.eclipse.xtext.nodemodel.INode node)
      Checks INode for LeafNode
      protected boolean shouldCheckParentNode​(org.eclipse.xtext.nodemodel.INode node)
      Bsl does not use the grammar pattern where the cross reference is defined in a rule that did not instantiate the object.
      • Methods inherited from class org.eclipse.xtext.linking.lazy.LazyLinker

        afterCreateAndSetProxy, createAndSetProxy, createProxy, findInstantiableCompatible, findSubTypeInEPackage, getCache, getEncoder, getGrammarAccess, getProxyType, getRegistry, globalFindInstantiableCompatible, installProxies, installQueuedLinks, setEncoder, setGrammarAccess, setRegistry
      • Methods inherited from class org.eclipse.xtext.linking.impl.AbstractCleaningLinker

        afterModelLinked, clearAllReferences, clearReference, clearReferences, getAllLinkableContents, isClearAllReferencesRequired, linkModel
    • Constructor Detail

      • BslLinker

        public BslLinker()
    • Method Detail

      • shouldCheckParentNode

        protected boolean shouldCheckParentNode​(org.eclipse.xtext.nodemodel.INode node)
        Bsl does not use the grammar pattern where the cross reference is defined in a rule that did not instantiate the object.
        Overrides:
        shouldCheckParentNode in class org.eclipse.xtext.linking.impl.AbstractCleaningLinker
      • beforeModelLinked

        protected void beforeModelLinked​(org.eclipse.emf.ecore.EObject model,
                                         org.eclipse.xtext.diagnostics.IDiagnosticConsumer diagnosticsConsumer)
        Overrides:
        beforeModelLinked in class org.eclipse.xtext.linking.impl.AbstractCleaningLinker
      • doLinkModel

        protected void doLinkModel​(org.eclipse.emf.ecore.EObject model,
                                   org.eclipse.xtext.diagnostics.IDiagnosticConsumer consumer)
        Overrides:
        doLinkModel in class org.eclipse.xtext.linking.lazy.LazyLinker
      • hasLeafNodes

        protected boolean hasLeafNodes​(org.eclipse.xtext.nodemodel.INode node)
        Checks INode for LeafNode
        Overrides:
        hasLeafNodes in class org.eclipse.xtext.linking.lazy.LazyLinker