Class ScopedVariableTranslationStorage
java.lang.Object
com.e1c.langtool.v8.dt.internal.translator.ScopedVariableTranslationStorage
The Class for storing variable translation into variable name.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetVariableNamesCount(String translation, String excluded) Gets the variable names count.voidputTranslation(String translation, String variableName) Puts translation to store.
-
Constructor Details
-
ScopedVariableTranslationStorage
public ScopedVariableTranslationStorage()
-
-
Method Details
-
putTranslation
Puts translation to store.- Parameters:
translation- the translation, cannot benullvariableName- the variable name, cannot benull
-
getVariableNamesCount
Gets the variable names count.- Parameters:
translation- the translation, cannot benullexcluded- excluding this name from the check, as it may appear multiple times, cannot benull- Returns:
- the variable names count
-