Class BslNstrKeyComputer
java.lang.Object
com.e1c.langtool.v8.dt.bsl.internal.naming.BslNstrKeyComputer
A class for compute the
FeatureKey for a NStr StringLiteral-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncompute(StringLiteral literal, TranslatorProperties translationProperties, AtomicReference<IProjectTranslationProvider> translationProvider, Map<org.eclipse.emf.ecore.EObject, String> cache) Computes theFeatureKeyand translates it if required for NStrStringLiteral.
-
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 theFeatureKeyand translates it if required for NStrStringLiteral.- Parameters:
literal- the string literal, must have type NStr, cannot benulltranslationProperties- the translation properties, cannot benulltranslationProvider- the translation provider used for translation, can benullcache- the cache used for translation, can benull- Returns:
- the feature key, can be
null
-