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>
Special
More light creating/deleting diagnostic error message
Special processing error for "semicolon"
DerivedStateAwareResource for Bsl language More light creating/deleting diagnostic error message
Special processing error for "semicolon"
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassBslResource.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.DiagnosticMessageContextNested 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.ModificationTrackingAdapterNested 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.EScannableAdapterListNested 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
FieldsModifier and TypeFieldDescriptionprotected Set<org.eclipse.xtext.util.Triple<org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.EReference, org.eclipse.xtext.nodemodel.INode>> protected org.eclipse.emf.ecore.resource.ResourceSetThe containing resource set.Fields inherited from class org.eclipse.xtext.resource.DerivedStateAwareResource
fullyInitialized, isInitializingFields inherited from class org.eclipse.xtext.resource.persistence.StorageAwareResource
UNRESOLVABLE_FRAGMENTFields inherited from class org.eclipse.xtext.linking.lazy.LazyLinkingResource
CYCLIC_LINKING_DECTECTION_COUNTER_LIMIT, cyclicLinkingDectectionCounterLimit, UNRESOLVEABLE_PROXIES_KEYFields inherited from class org.eclipse.xtext.resource.XtextResource
isUpdating, operationCanceledManager, OPTION_ENCODING, OPTION_FORMAT, OPTION_RESOLVE_ALL, OPTION_SERIALIZATION_OPTIONSFields inherited from class org.eclipse.emf.ecore.resource.impl.ResourceImpl
contents, defaultDeleteOptions, defaultLoadOptions, defaultSaveOptions, intrinsicIDToEObjectMap, isLoaded, isLoading, isModified, modificationTrackingAdapter, timeStamp, unloadingContents, uriFields inherited from class org.eclipse.emf.common.notify.impl.NotifierImpl
EDELIVER, eFlags, ELAST_NOTIFIER_FLAGFields 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 -
Method Summary
Modifier and TypeMethodDescriptionvoidAcquire read lock for local resolve cross reference.voidAcquire read lock for update operation of resource.protected voidorg.eclipse.emf.common.notify.NotificationChainbasicSetResourceSet(org.eclipse.emf.ecore.resource.ResourceSet resourceSet, org.eclipse.emf.common.notify.NotificationChain notifications) protected voidprotected 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 voidprotected voiddoLoad(InputStream inputStream, Map<?, ?> options) protected voiddoUnload()org.eclipse.emf.common.util.EList<org.eclipse.emf.common.notify.Adapter>protected org.eclipse.emf.common.notify.Adapter[]protected boolean<Result> Resultexecute(org.eclipse.xtext.util.concurrent.IUnitOfWork<Result, ? super BslResource> unit) org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EObject>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, Triple<EObject, EReference, INode> triple)for replace collectionresolvingto 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.CancelIndicatorGets the external cancel indicator for this resource.org.eclipse.emf.common.notify.AdapterGets the language validation suppression context adapterintGets difference between new added text and replace text length in update operation for moduleintGets offset in the module for begin of last modificationgetLock()Gets methods fromModuleby nameGets last reparsing method fromModuleorg.eclipse.emf.ecore.resource.ResourceSetorg.eclipse.emf.ecore.EObjectgetSourceEObject(String uriFragment) GetsEObjectfrom resource byURI.fragment()without installing lazy proxyURIfor the resource itemsGets validation suppression line rangesgetURIFragmentByContainer(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 modulebooleanChecks that resource needs deep analyze processing.booleanChecks that system of type, cross reference serializer and building types of contextDef was endedbooleanChecks that resolve cross reference forgetReparseMethod()have been donebooleanChecks that resource processing in multi threadbooleanbooleanChecks that resolve cross reference for all resource have been donestatic booleanChecks 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()voidReleases read lock for local resolve cross reference SeeacquireLocalResolveCrossReferencLock()voidReleases 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) voidvoidRemoves current previously installed cancel indicatorstatic voidCleans 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 voidSets the single thread mode flagvoidSets validation suppression line rangesvoidSkips all cachedMethods of resourcevoidprotected 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, updateInternalStateMethods inherited from class org.eclipse.xtext.resource.persistence.StorageAwareResource
getPortableURIs, getResourceDescription, getResourceStorageFacade, isLoadedFromStorage, load, loadFromStorage, setIsLoadedFromStorage, setResourceDescriptionMethods 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, setLinkingServiceMethods 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, validateConcreteSyntaxMethods inherited from class org.eclipse.emf.ecore.resource.impl.ResourceImpl
addModificationTrackingAdapters, attached, attachedHelper, createModificationTrackingAdapter, delete, detached, detachedHelper, getAllContents, getAllProperContents, getAllProperContents, getDefaultURIConverter, getEObjectByID, getErrors, getIDForEObject, getIntrinsicIDToEObjectMap, 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, useZipMethods inherited from class org.eclipse.emf.common.notify.impl.NotifierImpl
eBasicAdapters, eDeliver, eSetDeliverMethods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotifyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eDeliver, eNotify, eSetDeliver
-
Field Details
-
resolving
protected Set<org.eclipse.xtext.util.Triple<org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.EReference, resolvingorg.eclipse.xtext.nodemodel.INode>> -
unresolving
-
resourceSet
protected org.eclipse.emf.ecore.resource.ResourceSet resourceSetThe containing resource set.- See Also:
-
-
Constructor Details
-
BslResource
public BslResource()
-
-
Method Details
-
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
- 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
- Specified by:
getEObjectin interfaceorg.eclipse.emf.ecore.resource.Resource- Overrides:
getEObjectin classorg.eclipse.xtext.resource.persistence.StorageAwareResource
-
getSourceEObject
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
- Overrides:
reparsein classorg.eclipse.xtext.resource.XtextResource- Throws:
IOException
-
update
- 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
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
- Parameters:
block-Blockfor installing lazy proxies, cannot benull
-
getMethod
Gets methods fromModuleby name- Parameters:
name- name of the method, can't benull- Returns:
- list of the methods with name equals to
name, cannot benullif there is no methods with the name
-
isOnlyMethodReparse
public boolean isOnlyMethodReparse() -
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 -
setSuppressionRanges
public void setSuppressionRanges(Map<String, Collection<BslSuppressionProvider.BslSuppressionRange>> ranges) Sets validation suppression line ranges- Parameters:
ranges- new validation suppression ranges for set, cannot benull
-
getSuppressionRanges
Gets validation suppression line ranges- Returns:
- map of error code to collection of validation suppression range, can be
null
-
getContextHolder
Gets the validation context holder adapter if present- Returns:
- The context holder adapter. May be
null
-
setContextHolder
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
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
- 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, throws AssertionErrororg.eclipse.xtext.nodemodel.INode> triple) Source code gets fromLazyLinkingResource#getEObject(String uriFragment, Triple<EObject, EReference, INode> triple)for replace collectionresolvingto 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, throws AssertionErrororg.eclipse.xtext.nodemodel.INode> triple) - Overrides:
handleCyclicResolutionin classorg.eclipse.xtext.linking.lazy.LazyLinkingResource- Throws:
AssertionError
-
installTypeState
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
- Overrides:
doLoadin classorg.eclipse.xtext.linking.lazy.LazyLinkingResource- Throws:
IOException
-
basicSetResourceSet
public org.eclipse.emf.common.notify.NotificationChain basicSetResourceSet(org.eclipse.emf.ecore.resource.ResourceSet resourceSet, org.eclipse.emf.common.notify.NotificationChain notifications) - Specified by:
basicSetResourceSetin interfaceorg.eclipse.emf.ecore.resource.Resource.Internal- Overrides:
basicSetResourceSetin classorg.eclipse.emf.ecore.resource.impl.ResourceImpl
-
getResourceSet
public org.eclipse.emf.ecore.resource.ResourceSet getResourceSet()- Specified by:
getResourceSetin interfaceorg.eclipse.emf.ecore.resource.Resource- Overrides:
getResourceSetin classorg.eclipse.emf.ecore.resource.impl.ResourceImpl
-