Class KeysCollector
java.lang.Object
com.e1c.langtool.v8.dt.bsl.stringliteral.AbstractStringLiteralLinesCollector
com.e1c.langtool.v8.dt.bsl.stringliteral.KeysCollector
- All Implemented Interfaces:
TypedStringLiteralFeatureValueCollector
- Direct Known Subclasses:
DefaultStringLiteralCollector,ReplaceParamCollector,SettingsKeyCollector,SortColumnsCollector
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final String[]static final String[]protected IStringLiteralTypeComputerFields inherited from class com.e1c.langtool.v8.dt.bsl.stringliteral.AbstractStringLiteralLinesCollector
resourceLookup -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcollectContent(StringLiteral literal, CollectingContext context, org.eclipse.core.runtime.IProgressMonitor monitor) protected FeatureValuecreateFeatureValue(StringLiteral literal, FeatureKey literalFeatureKey, org.eclipse.core.resources.IFile file, String key, boolean isKeyComputed) protected ContextDefCachegetContextDefCache(IV8Project project, org.eclipse.emf.ecore.EObject context) getKeys(StringLiteral literal, boolean checkValidKey) protected booleanisKeyComputed(StringLiteral literal, String key, List<String> keysList, ContextDefCache contextDefCache, Environments actualEnvs, boolean isRussian) protected booleanbooleanisSupport(StringLiteral literal, Collection<LiteralType> types) Checks if collector is support given literal and it's types.Methods inherited from class com.e1c.langtool.v8.dt.bsl.stringliteral.AbstractStringLiteralLinesCollector
collect, createLiteralLinesContextTranslationKey, createLiteralLinesContextTranslationKey, isComputedValue
-
Field Details
-
SUPPORTED_TYPES
-
SKIP_TYPES
-
KEYS_DELIM
- See Also:
-
typeComputer
-
-
Constructor Details
-
KeysCollector
public KeysCollector()
-
-
Method Details
-
isSupport
Description copied from interface:TypedStringLiteralFeatureValueCollectorChecks if collector is support given literal and it's types.- Parameters:
literal- the literaltypes- the types to check- Returns:
- true, if collector is support the literal
-
collectContent
protected void collectContent(StringLiteral literal, CollectingContext context, org.eclipse.core.runtime.IProgressMonitor monitor) - Specified by:
collectContentin classAbstractStringLiteralLinesCollector
-
isKeyComputed
protected boolean isKeyComputed(StringLiteral literal, String key, List<String> keysList, ContextDefCache contextDefCache, Environments actualEnvs, boolean isRussian) -
getContextDefCache
protected ContextDefCache getContextDefCache(IV8Project project, org.eclipse.emf.ecore.EObject context) -
getKeys
-
createFeatureValue
protected FeatureValue createFeatureValue(StringLiteral literal, FeatureKey literalFeatureKey, org.eclipse.core.resources.IFile file, String key, boolean isKeyComputed) -
isLinesComputedByDefault
protected boolean isLinesComputedByDefault()- Specified by:
isLinesComputedByDefaultin classAbstractStringLiteralLinesCollector
-