Class BslCommentClearableTextProcessor

All Implemented Interfaces:
FeatureValueCollector, IBasicProcessor

public final class BslCommentClearableTextProcessor extends BslCommentTextProcessor
Clearing comments that have no translation.
  • Constructor Details

    • BslCommentClearableTextProcessor

      public BslCommentClearableTextProcessor(org.eclipse.core.resources.IFile file, FeatureKey featureKeyPreffix, BslDocumentationComment comment, List<org.eclipse.xtext.nodemodel.INode> lines, org.eclipse.text.edits.MultiTextEdit edit, IProjectTranslationProvider translationProvider, Function<org.eclipse.emf.ecore.EObject,String> eObjectReplaceProvider, TranslatorProperties translatorProperties, BslTranslationLogger problemLogger, Method method, BmOperationContext typeComputationContext, DocCommentKeyComputer keyComputer, ITranslationFeatureKeyProvider featureKeyProvider, IResourceLookup resourceLookup, IV8ProjectManager v8ProjectManager, org.eclipse.xtext.scoping.IScopeProvider scopeProvider)
      Instantiates a new bsl comment clearable text processor.
      Parameters:
      file - the file of the module, cannot be null.
      featureKeyPreffix - the feature key prefix, cannot be null.
      comment - the root documentation comment model object, cannot be null.
      lines - the lines of the doc-comment, cannot be null.
      edit - the edits that will be append by translator changes, cannot be null.
      translationProvider - the translation provider, cannot be null.
      eObjectReplaceProvider - the e object replace provider, cannot be null.
      translatorProperties - the translator properties, cannot be null.
      problemLogger - the translation problem logger, can be null.
      method - the method of doc-comment, cannot be null.
      typeComputationContext - the BM operation context for the type computation process, cannot be null.
      keyComputer - the DocCommentKeyComputer, cannot be null.
      featureKeyProvider - the ITranslationFeatureKeyProvider, cannot be null.
      resourceLookup - the IResourceLookup, cannot be null.
      v8ProjectManager - the IV8ProjectManager, cannot be null.
      scopeProvider - the IScopeProvider, cannot be null.
    • BslCommentClearableTextProcessor

      public BslCommentClearableTextProcessor(org.eclipse.core.resources.IFile file, org.eclipse.emf.ecore.EObject context, FeatureKey featureKeyPreffix, BslDocumentationComment comment, List<org.eclipse.xtext.nodemodel.INode> lines, org.eclipse.text.edits.MultiTextEdit edit, IProjectTranslationProvider translationProvider, Function<org.eclipse.emf.ecore.EObject,String> eObjectReplaceProvider, TranslatorProperties translatorProperties, BslTranslationLogger problemLogger, BmOperationContext typeComputationContext, DocCommentKeyComputer keyComputer, ITranslationFeatureKeyProvider featureKeyProvider, IResourceLookup resourceLookup, IV8ProjectManager v8ProjectManager, org.eclipse.xtext.scoping.IScopeProvider scopeProvider)
      Instantiates a new bsl comment clearable text processor.
      Parameters:
      file - the file of the module, cannot be null.
      context - the context
      featureKeyPreffix - the feature key prefix, cannot be null.
      comment - the root documentation comment model object, cannot be null.
      lines - the lines of the doc-comment, cannot be null.
      edit - the edits that will be append by translator changes, cannot be null.
      translationProvider - the translation provider, cannot be null.
      eObjectReplaceProvider - the e object replace provider, cannot be null.
      translatorProperties - the translator properties, cannot be null.
      problemLogger - the translation problem logger, can be null.
      typeComputationContext - the BM operation context for the type computation process, cannot be null.
      keyComputer - the DocCommentKeyComputer, cannot be null.
      featureKeyProvider - the ITranslationFeatureKeyProvider, cannot be null.
      resourceLookup - the IResourceLookup, cannot be null.
      v8ProjectManager - the IV8ProjectManager, cannot be null.
      scopeProvider - the IScopeProvider, cannot be null.
  • Method Details