Class BslNstrKeyComputer

java.lang.Object
com.e1c.langtool.v8.dt.bsl.internal.naming.BslNstrKeyComputer

public class BslNstrKeyComputer extends Object
A class for compute the FeatureKey for a NStr StringLiteral
  • Constructor Details

    • BslNstrKeyComputer

      public BslNstrKeyComputer()
  • Method Details

    • compute

      public FeatureKey compute(StringLiteral literal, TranslatorProperties translationProperties, AtomicReference<IProjectTranslationProvider> translationProvider, Map<org.eclipse.emf.ecore.EObject,String> cache)
      Computes the FeatureKey and translates it if required for NStr StringLiteral.
      Parameters:
      literal - the string literal, must have type NStr, cannot be null
      translationProperties - the translation properties, cannot be null
      translationProvider - the translation provider used for translation, can be null
      cache - the cache used for translation, can be null
      Returns:
      the feature key, can be null