Package com._1c.g5.v8.dt.bsl.resource
Class BslResource
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.BasicNotifierImpl
-
- org.eclipse.emf.common.notify.impl.NotifierImpl
-
- org.eclipse.emf.ecore.resource.impl.ResourceImpl
-
- org.eclipse.xtext.resource.XtextResource
-
- org.eclipse.xtext.linking.lazy.LazyLinkingResource
-
- org.eclipse.xtext.resource.persistence.StorageAwareResource
-
- org.eclipse.xtext.resource.DerivedStateAwareResource
-
- com._1c.g5.v8.dt.bsl.resource.BslResource
-
- All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier,org.eclipse.emf.ecore.resource.Resource,org.eclipse.emf.ecore.resource.Resource.Internal,org.eclipse.xtext.resource.IBatchLinkableResource,org.eclipse.xtext.resource.ISynchronizable<BslResource>
public class BslResource extends org.eclipse.xtext.resource.DerivedStateAwareResource implements org.eclipse.xtext.resource.IBatchLinkableResource, org.eclipse.xtext.resource.ISynchronizable<BslResource>
SpecialDerivedStateAwareResourcefor Bsl language
More light creating/deleting diagnostic error message
Special processing error for "semicolon"
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classBslResource.CustomEAdapterList<E extends Object & org.eclipse.emf.common.notify.Adapter>-
Nested classes/interfaces inherited from class org.eclipse.xtext.linking.lazy.LazyLinkingResource
org.eclipse.xtext.linking.lazy.LazyLinkingResource.CyclicLinkingException, org.eclipse.xtext.linking.lazy.LazyLinkingResource.DiagnosticMessageContext
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.resource.impl.ResourceImpl
org.eclipse.emf.ecore.resource.impl.ResourceImpl.ContentsEList<E extends Object & org.eclipse.emf.ecore.EObject>, org.eclipse.emf.ecore.resource.impl.ResourceImpl.ModificationTrackingAdapter
-
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList
-
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.resource.Resource
org.eclipse.emf.ecore.resource.Resource.Diagnostic, org.eclipse.emf.ecore.resource.Resource.Factory, org.eclipse.emf.ecore.resource.Resource.Internal, org.eclipse.emf.ecore.resource.Resource.IOWrappedException
-
-
Field Summary
Fields Modifier and Type Field Description protected Set<org.eclipse.xtext.util.Triple<org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.EReference,org.eclipse.xtext.nodemodel.INode>>resolvingprotected Set<String>unresolving-
Fields inherited from class org.eclipse.xtext.resource.DerivedStateAwareResource
fullyInitialized, isInitializing
-
Fields inherited from class org.eclipse.xtext.resource.persistence.StorageAwareResource
UNRESOLVABLE_FRAGMENT
-
Fields inherited from class org.eclipse.xtext.linking.lazy.LazyLinkingResource
CYCLIC_LINKING_DECTECTION_COUNTER_LIMIT, cyclicLinkingDectectionCounterLimit, UNRESOLVEABLE_PROXIES_KEY
-
Fields inherited from class org.eclipse.xtext.resource.XtextResource
isUpdating, operationCanceledManager, OPTION_ENCODING, OPTION_FORMAT, OPTION_RESOLVE_ALL, OPTION_SERIALIZATION_OPTIONS
-
Fields inherited from class org.eclipse.emf.ecore.resource.impl.ResourceImpl
contents, defaultDeleteOptions, defaultLoadOptions, defaultSaveOptions, intrinsicIDToEObjectMap, isLoaded, isLoading, isModified, modificationTrackingAdapter, resourceSet, timeStamp, unloadingContents, uri
-
Fields inherited from class org.eclipse.emf.common.notify.impl.NotifierImpl
EDELIVER, eFlags, ELAST_NOTIFIER_FLAG
-
Fields inherited from interface org.eclipse.emf.ecore.resource.Resource
OPTION_CIPHER, OPTION_LINE_DELIMITER, OPTION_LINE_DELIMITER_UNSPECIFIED, OPTION_SAVE_ONLY_IF_CHANGED, OPTION_SAVE_ONLY_IF_CHANGED_FILE_BUFFER, OPTION_SAVE_ONLY_IF_CHANGED_MEMORY_BUFFER, OPTION_ZIP, RESOURCE__CONTENTS, RESOURCE__ERRORS, RESOURCE__IS_LOADED, RESOURCE__IS_MODIFIED, RESOURCE__IS_TRACKING_MODIFICATION, RESOURCE__RESOURCE_SET, RESOURCE__TIME_STAMP, RESOURCE__URI, RESOURCE__WARNINGS
-
-
Constructor Summary
Constructors Constructor Description BslResource()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidacquireLocalResolveCrossReferencLock()Acquire read lock for local resolve cross reference.voidacquireUpdateLock()Acquire read lock for update operation of resource.protected voidaddSyntaxErrors()protected voidclearErrorsAndWarnings()protected org.eclipse.emf.ecore.resource.Resource.DiagnosticcreateDiagnostic(org.eclipse.xtext.util.Triple<org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.EReference,org.eclipse.xtext.nodemodel.INode> triple, org.eclipse.xtext.diagnostics.DiagnosticMessage message)protected voiddoLinking()protected voiddoLoad(InputStream inputStream, Map<?,?> options)protected voiddoUnload()org.eclipse.emf.common.util.EList<org.eclipse.emf.common.notify.Adapter>eAdapters()protected org.eclipse.emf.common.notify.Adapter[]eBasicAdapterArray()protected booleaneBasicHasAdapters()<Result> Resultexecute(org.eclipse.xtext.util.concurrent.IUnitOfWork<Result,? super BslResource> unit)org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EObject>getContents()IBslValidationContributor.ContextHolderAdaptergetContextHolder()Gets the validation context holder adapter if presentprotected List<org.eclipse.emf.ecore.resource.Resource.Diagnostic>getDiagnosticList(org.eclipse.xtext.diagnostics.DiagnosticMessage message)org.eclipse.emf.ecore.EObjectgetEObject(String uriFragment)protected org.eclipse.emf.ecore.EObjectgetEObject(String uriFragment, org.eclipse.xtext.util.Triple<org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.EReference,org.eclipse.xtext.nodemodel.INode> triple)Source code gets fromLazyLinkingResource#getEObject(String uriFragment, Triplefor replace collectiontriple) resolvingto the thread safe variantprotected org.eclipse.emf.ecore.EObjectgetEObject(List<String> uriFragmentPath)Returns the object based on the fragment path as a list of Strings.protected org.eclipse.emf.ecore.EObjectgetEObjectForURIFragmentRootSegment(String uriFragmentRootSegment)org.eclipse.xtext.util.CancelIndicatorgetGlobalResourceOperationCancelIndicator()Gets the external cancel indicator for this resource.org.eclipse.emf.common.notify.AdaptergetLanguageSuppressionContext()Gets the language validation suppression context adapterintgetLastUpdateContentShift()Gets difference between new added text and replace text length in update operation for moduleintgetLastUpdatePosition()Gets offset in the module for begin of last modificationObjectgetLock()List<Method>getMethod(CaseInsensitiveString name)Gets methods fromModuleby nameMethodgetReparseMethod()Gets last reparsing method fromModuleorg.eclipse.emf.ecore.EObjectgetSourceEObject(String uriFragment)GetsEObjectfrom resource byURI.fragment()without installing lazy proxyURIfor the resource itemsprotected Set<String>getUnresolvableURIFragments()StringgetURIFragmentByContainer(org.eclipse.emf.ecore.EObject eObject)Gets fragment of the uri forEObjectwithout usingIFragmentProviderprotected org.eclipse.emf.ecore.EObjecthandleCyclicResolution(org.eclipse.xtext.util.Triple<org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.EReference,org.eclipse.xtext.nodemodel.INode> triple)voidinstallDerivedState(boolean preIndexingPhase)voidinstallProxiesForBlock(Block block)protected voidinstallTypeState(Module module, org.eclipse.xtext.util.CancelIndicator monitor)Install type system for BSL modulebooleanisDeepAnalysing()Checks that resource needs deep analyze processing.booleanisLinkedBatch()Checks that system of type, cross reference serializer and building types of contextDef was endedbooleanisLocalResolveCrossReference()Checks that resolve cross reference forgetReparseMethod()have been donebooleanisMultiThreadProcessing()Checks that resource processing in multi threadbooleanisOnlyMethodReparse()booleanisResolveCrossReference()Checks that resolve cross reference for all resource have been donestatic booleanisSingleThreadMode()Checks if the single thread mode flag is enabledvoidlinkBatched(org.eclipse.xtext.util.CancelIndicator monitor)voidlocalResolveCrossReference(org.eclipse.xtext.util.CancelIndicator cancelIndicator)Resolve cross reference for onlygetReparseMethod()voidreleaseLocalResolveCrossReferenceLock()Releases read lock for local resolve cross reference SeeacquireLocalResolveCrossReferencLock()voidreleaseUpdateLock()Releases read lock forupdate operation of resource.protected voidremoveDiagnostic(org.eclipse.xtext.util.Triple<org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.EReference,org.eclipse.xtext.nodemodel.INode> triple)voidreparse(String newContent)voidresetGlobalResourceOperationCancelIndicator()Removes current previously installed cancel indicatorstatic voidresetSingleThreadMode()Cleans the single thread mode flag, if anyvoidresolveImportedNames(org.eclipse.xtext.util.CancelIndicator monitor)Resolves imported namesvoidresolveLazyCrossReferences(org.eclipse.xtext.util.CancelIndicator mon)voidsetContextHolder(IBslValidationContributor.ContextHolderAdapter contextHolderAdapter)Sets the validation context holder adaptervoidsetDeepAnalysis(boolean isDeepAnalysis)Sets that resource needs deep analyze.voidsetGlobalResourceOperationCancelIndicator(org.eclipse.xtext.util.CancelIndicator cancelIndicator)Sets the external cancel indicator for this resource.voidsetLanguageSuppressionContext(org.eclipse.emf.common.notify.Adapter languageSuppressionContext)Sets the language validation suppression context adaptervoidsetMultiThreadProcessing(boolean multiThreadProcessing)Sets that resource processing in multi threadstatic voidsetSingleThreadMode()Sets the single thread mode flagvoidskipCachedMethods()Skips all cachedMethods of resourcevoidupdate(int offset, int replacedTextLength, String newText)protected voidupdateInternalState(org.eclipse.xtext.parser.IParseResult oldParseResult, org.eclipse.xtext.parser.IParseResult newParseResult)-
Methods inherited from class org.eclipse.xtext.resource.DerivedStateAwareResource
clearInternalState, discardDerivedState, doDiscardDerivedState, doGetContents, getUnloadingContents, getURIFragmentRootSegment, isFullyInitialized, isInitializing, setDerivedStateComputer, setFullyInitialized, updateInternalState
-
Methods inherited from class org.eclipse.xtext.resource.persistence.StorageAwareResource
getPortableURIs, getResourceDescription, getResourceStorageFacade, isLoadedFromStorage, load, loadFromStorage, setIsLoadedFromStorage, setResourceDescription
-
Methods inherited from class org.eclipse.xtext.linking.lazy.LazyLinkingResource
addLazyProxyInformation, clearLazyProxyInformation, createAndAddDiagnostic, createAndAddDiagnostic, createDiagnosticMessage, createDiagnosticMessageContext, doResolveLazyCrossReference, getDiagnosticMessageProvider, getEncoder, getLazyProxyInformation, getLazyProxyInformation, getLinkingHelper, getLinkingService, getReferences, hasLazyProxyInformation, isEagerLinking, isPotentialLazyCrossReference, isUnresolveableProxyCacheable, markUnresolvable, removeLazyProxyInformation, resolveLazyCrossReference, setDiagnosticMessageProvider, setEagerLinking, setEncoder, setLinkingHelper, setLinkingService
-
Methods inherited from class org.eclipse.xtext.resource.XtextResource
addSyntaxDiagnostic, basicGetEObject, clearCache, createReader, doSave, getCache, getConcreteSyntaxValidator, getEncoding, getEntryPoint, getFragmentProvider, getLanguageName, getLinker, getModificationStamp, getParser, getParseResult, getResourceServiceProvider, getSerializer, getUnloader, getURIFragment, isValidationDisabled, reattachModificationTracker, relink, setCache, setEncodingFromOptions, setEntryPoint, setFragmentProvider, setInjectedParser, setLanguageName, setLinker, setModificationStamp, setParser, setParseResult, setResourceServiceProvider, setSerializer, setUnloader, setValidationDisabled, unload, validateConcreteSyntax
-
Methods inherited from class org.eclipse.emf.ecore.resource.impl.ResourceImpl
addModificationTrackingAdapters, attached, attachedHelper, basicSetResourceSet, createModificationTrackingAdapter, delete, detached, detachedHelper, getAllContents, getAllProperContents, getAllProperContents, getDefaultURIConverter, getEObjectByID, getErrors, getIDForEObject, getIntrinsicIDToEObjectMap, getResourceSet, getTimeStamp, getURI, getURIConverter, getWarnings, handleLoadResponse, handleSaveResponse, isAttachedDetachedHelperRequired, isContentZipEntry, isLoaded, isLoading, isModified, isTrackingModification, load, mergeMaps, newContentZipEntry, removeModificationTrackingAdapters, save, save, saveOnlyIfChangedWithFileBuffer, saveOnlyIfChangedWithMemoryBuffer, setIntrinsicIDToEObjectMap, setLoaded, setModified, setTimeStamp, setTrackingModification, setURI, supportIDRelativeURIFragmentPaths, toKeyString, toString, unload, unloaded, useZip
-
Methods inherited from class org.eclipse.emf.common.notify.impl.NotifierImpl
eBasicAdapters, eDeliver, eSetDeliver
-
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
-
-
-
-
Method Detail
-
resetSingleThreadMode
public static void resetSingleThreadMode()
Cleans the single thread mode flag, if any
-
setSingleThreadMode
public static void setSingleThreadMode()
Sets the single thread mode flag
-
isSingleThreadMode
public static boolean isSingleThreadMode()
Checks if the single thread mode flag is enabled
-
linkBatched
public void linkBatched(org.eclipse.xtext.util.CancelIndicator monitor)
- Specified by:
linkBatchedin interfaceorg.eclipse.xtext.resource.IBatchLinkableResource
-
resolveImportedNames
public void resolveImportedNames(org.eclipse.xtext.util.CancelIndicator monitor)
Resolves imported names- Parameters:
monitor- currentCancelIndicator, maybenull
-
getContents
public org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EObject> getContents()
- Specified by:
getContentsin interfaceorg.eclipse.emf.ecore.resource.Resource- Overrides:
getContentsin classorg.eclipse.xtext.resource.DerivedStateAwareResource
-
getLock
public Object getLock()
- Specified by:
getLockin interfaceorg.eclipse.xtext.resource.ISynchronizable<BslResource>
-
execute
public <Result> Result execute(org.eclipse.xtext.util.concurrent.IUnitOfWork<Result,? super BslResource> unit) throws Exception
- Specified by:
executein interfaceorg.eclipse.xtext.resource.ISynchronizable<BslResource>- Throws:
Exception
-
isMultiThreadProcessing
public boolean isMultiThreadProcessing()
Checks that resource processing in multi thread- Returns:
trueif resource processing in multi thread,falseotherwise
-
setMultiThreadProcessing
public void setMultiThreadProcessing(boolean multiThreadProcessing)
Sets that resource processing in multi thread- Parameters:
multiThreadProcessing-trueif resource must be processed in multi thread
-
getEObject
public org.eclipse.emf.ecore.EObject getEObject(String uriFragment)
- Specified by:
getEObjectin interfaceorg.eclipse.emf.ecore.resource.Resource- Overrides:
getEObjectin classorg.eclipse.xtext.resource.persistence.StorageAwareResource
-
getSourceEObject
public org.eclipse.emf.ecore.EObject getSourceEObject(String uriFragment)
GetsEObjectfrom resource byURI.fragment()without installing lazy proxyURIfor the resource items- Parameters:
uriFragment- uri fragmentURI.fragment()for getting resourceEObject, cannot benull- Returns:
EObjectcorresponding to theURIfragment ornullif object wasn't found
-
reparse
public void reparse(String newContent) throws IOException
- Overrides:
reparsein classorg.eclipse.xtext.resource.XtextResource- Throws:
IOException
-
update
public void update(int offset, int replacedTextLength, String newText)- Overrides:
updatein classorg.eclipse.xtext.resource.XtextResource
-
getLastUpdatePosition
public int getLastUpdatePosition()
Gets offset in the module for begin of last modification- Returns:
- offset in the module for begin of last modification
-
getURIFragmentByContainer
public String getURIFragmentByContainer(org.eclipse.emf.ecore.EObject eObject)
Gets fragment of the uri forEObjectwithout usingIFragmentProvider- Parameters:
eObject-EObjectfor gettingURIfragment, cannot benull- Returns:
- fragment of the uri for
EObject, nevernull
-
getLastUpdateContentShift
public int getLastUpdateContentShift()
Gets difference between new added text and replace text length in update operation for module- Returns:
- difference between new added text and replace text length
-
acquireUpdateLock
public void acquireUpdateLock()
Acquire read lock for update operation of resource. Seeupdate(int, int, String)which protected by write lock. Use this method for getting always actual state ofIParseResultof the resource Client should callreleaseUpdateLock()after processing actualIParseResultwill be end
-
releaseUpdateLock
public void releaseUpdateLock()
Releases read lock forupdate operation of resource. SeeacquireUpdateLock()
-
acquireLocalResolveCrossReferencLock
public void acquireLocalResolveCrossReferencLock()
Acquire read lock for local resolve cross reference. SeelocalResolveCrossReference(CancelIndicator)which protected by write lock. Use this method for resolve cross reference in one reparce method, seegetReparseMethod()Client should callreleaseLocalResolveCrossReferenceLock()after processing reparce method will be end
-
releaseLocalResolveCrossReferenceLock
public void releaseLocalResolveCrossReferenceLock()
Releases read lock for local resolve cross reference SeeacquireLocalResolveCrossReferencLock()
-
resolveLazyCrossReferences
public void resolveLazyCrossReferences(org.eclipse.xtext.util.CancelIndicator mon)
- Overrides:
resolveLazyCrossReferencesin classorg.eclipse.xtext.linking.lazy.LazyLinkingResource
-
installDerivedState
public void installDerivedState(boolean preIndexingPhase)
- Overrides:
installDerivedStatein classorg.eclipse.xtext.resource.DerivedStateAwareResource
-
installProxiesForBlock
public void installProxiesForBlock(Block block)
- Parameters:
block-Blockfor installing lazy proxies, cannot benull
-
getMethod
public List<Method> getMethod(CaseInsensitiveString name)
Gets methods fromModuleby name- Parameters:
name- name of the method, can't benull- Returns:
- list of the methods with name equals to
name, can'benullif there is no methods with the name
-
isOnlyMethodReparse
public boolean isOnlyMethodReparse()
-
getReparseMethod
public Method getReparseMethod()
Gets last reparsing method fromModule- Returns:
- last reparsing method from
Module, can benullifisOnlyMethodReparse()returnfalse
-
isLinkedBatch
public boolean isLinkedBatch()
Checks that system of type, cross reference serializer and building types of contextDef was ended- Returns:
trueif system of type, cross reference serializer and building types of contextDef was ended,falseotherwise
-
skipCachedMethods
public void skipCachedMethods()
Skips all cachedMethods of resource
-
isDeepAnalysing
public boolean isDeepAnalysing()
Checks that resource needs deep analyze processing. Deep analyzing includes full processing in Type System, computing all references description, and full validation with all check modes- Returns:
trueif resource needs deep analyze processing,falseotherwise
-
setDeepAnalysis
public void setDeepAnalysis(boolean isDeepAnalysis)
Sets that resource needs deep analyze. Deep analyzing includes full processing in Type System, computing all references description, and full validation with all check modes- Parameters:
isDeepAnalysis-trueif that resource needs deep analyze,falseotherwise
-
isLocalResolveCrossReference
public boolean isLocalResolveCrossReference()
Checks that resolve cross reference forgetReparseMethod()have been done- Returns:
trueif resolve cross reference have been done forgetReparseMethod(),falseotherwise
-
isResolveCrossReference
public boolean isResolveCrossReference()
Checks that resolve cross reference for all resource have been done- Returns:
trueif resolve cross reference have been done for all resource,falseotherwise
-
localResolveCrossReference
public void localResolveCrossReference(org.eclipse.xtext.util.CancelIndicator cancelIndicator)
Resolve cross reference for onlygetReparseMethod()- Parameters:
cancelIndicator-CancelIndicatorfor cancel resolve cross reference, cannot benull
-
setGlobalResourceOperationCancelIndicator
public void setGlobalResourceOperationCancelIndicator(org.eclipse.xtext.util.CancelIndicator cancelIndicator)
Sets the external cancel indicator for this resource. This cancel indicator may be used to interrupt long operations gracefully- Parameters:
cancelIndicator- The cancel indicator to set. May not benull
-
getGlobalResourceOperationCancelIndicator
public org.eclipse.xtext.util.CancelIndicator getGlobalResourceOperationCancelIndicator()
Gets the external cancel indicator for this resource. This cancel indicator may be used to interrupt long operations gracefully- Returns:
- cancelIndicator The cancel indicator. Never
null, may returnCancelIndicator#NullImpl
-
resetGlobalResourceOperationCancelIndicator
public void resetGlobalResourceOperationCancelIndicator()
Removes current previously installed cancel indicator
-
getContextHolder
public IBslValidationContributor.ContextHolderAdapter getContextHolder()
Gets the validation context holder adapter if present- Returns:
- The context holder adapter. May be
null
-
setContextHolder
public void setContextHolder(IBslValidationContributor.ContextHolderAdapter contextHolderAdapter)
Sets the validation context holder adapter- Parameters:
contextHolderAdapter- actual context holder adapter. May benull
-
getLanguageSuppressionContext
public org.eclipse.emf.common.notify.Adapter getLanguageSuppressionContext()
Gets the language validation suppression context adapter- Parameters:
The- language validation suppression context adapter. May benull
-
setLanguageSuppressionContext
public void setLanguageSuppressionContext(org.eclipse.emf.common.notify.Adapter languageSuppressionContext)
Sets the language validation suppression context adapter- Parameters:
languageSuppressionContext- actual language validation suppression context adapter. May benull
-
eAdapters
public org.eclipse.emf.common.util.EList<org.eclipse.emf.common.notify.Adapter> eAdapters()
- Specified by:
eAdaptersin interfaceorg.eclipse.emf.common.notify.Notifier- Overrides:
eAdaptersin classorg.eclipse.emf.common.notify.impl.NotifierImpl
-
eBasicAdapterArray
protected org.eclipse.emf.common.notify.Adapter[] eBasicAdapterArray()
- Overrides:
eBasicAdapterArrayin classorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
-
eBasicHasAdapters
protected boolean eBasicHasAdapters()
- Overrides:
eBasicHasAdaptersin classorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
-
getEObject
protected org.eclipse.emf.ecore.EObject getEObject(List<String> uriFragmentPath)
Returns the object based on the fragment path as a list of Strings.- Overrides:
getEObjectin classorg.eclipse.emf.ecore.resource.impl.ResourceImpl
-
getEObjectForURIFragmentRootSegment
protected org.eclipse.emf.ecore.EObject getEObjectForURIFragmentRootSegment(String uriFragmentRootSegment)
- Overrides:
getEObjectForURIFragmentRootSegmentin classorg.eclipse.xtext.resource.DerivedStateAwareResource
-
doLinking
protected void doLinking()
- Overrides:
doLinkingin classorg.eclipse.xtext.linking.lazy.LazyLinkingResource
-
getUnresolvableURIFragments
protected Set<String> getUnresolvableURIFragments()
- Overrides:
getUnresolvableURIFragmentsin classorg.eclipse.xtext.resource.persistence.StorageAwareResource
-
getEObject
protected org.eclipse.emf.ecore.EObject getEObject(String uriFragment, org.eclipse.xtext.util.Triple<org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.EReference,org.eclipse.xtext.nodemodel.INode> triple) throws AssertionError
Source code gets fromLazyLinkingResource#getEObject(String uriFragment, Triplefor replace collectiontriple) resolvingto the thread safe variant- Overrides:
getEObjectin classorg.eclipse.xtext.linking.lazy.LazyLinkingResource- Throws:
AssertionError
-
handleCyclicResolution
protected org.eclipse.emf.ecore.EObject handleCyclicResolution(org.eclipse.xtext.util.Triple<org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.EReference,org.eclipse.xtext.nodemodel.INode> triple) throws AssertionError- Overrides:
handleCyclicResolutionin classorg.eclipse.xtext.linking.lazy.LazyLinkingResource- Throws:
AssertionError
-
installTypeState
protected void installTypeState(Module module, org.eclipse.xtext.util.CancelIndicator monitor)
Install type system for BSL module- Parameters:
module- BSL module
-
createDiagnostic
protected org.eclipse.emf.ecore.resource.Resource.Diagnostic createDiagnostic(org.eclipse.xtext.util.Triple<org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.EReference,org.eclipse.xtext.nodemodel.INode> triple, org.eclipse.xtext.diagnostics.DiagnosticMessage message)- Overrides:
createDiagnosticin classorg.eclipse.xtext.linking.lazy.LazyLinkingResource
-
removeDiagnostic
protected void removeDiagnostic(org.eclipse.xtext.util.Triple<org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.EReference,org.eclipse.xtext.nodemodel.INode> triple)
- Overrides:
removeDiagnosticin classorg.eclipse.xtext.linking.lazy.LazyLinkingResource
-
addSyntaxErrors
protected void addSyntaxErrors()
- Overrides:
addSyntaxErrorsin classorg.eclipse.xtext.resource.XtextResource
-
getDiagnosticList
protected List<org.eclipse.emf.ecore.resource.Resource.Diagnostic> getDiagnosticList(org.eclipse.xtext.diagnostics.DiagnosticMessage message) throws AssertionError
- Overrides:
getDiagnosticListin classorg.eclipse.xtext.linking.lazy.LazyLinkingResource- Throws:
AssertionError
-
updateInternalState
protected void updateInternalState(org.eclipse.xtext.parser.IParseResult oldParseResult, org.eclipse.xtext.parser.IParseResult newParseResult)- Overrides:
updateInternalStatein classorg.eclipse.xtext.resource.DerivedStateAwareResource
-
clearErrorsAndWarnings
protected void clearErrorsAndWarnings()
- Overrides:
clearErrorsAndWarningsin classorg.eclipse.xtext.resource.XtextResource
-
doUnload
protected void doUnload()
- Overrides:
doUnloadin classorg.eclipse.xtext.resource.DerivedStateAwareResource
-
doLoad
protected void doLoad(InputStream inputStream, Map<?,?> options) throws IOException
- Overrides:
doLoadin classorg.eclipse.xtext.linking.lazy.LazyLinkingResource- Throws:
IOException
-
-