Class DefaultStringLiteralCollector
java.lang.Object
com.e1c.langtool.v8.dt.bsl.stringliteral.AbstractStringLiteralLinesCollector
com.e1c.langtool.v8.dt.bsl.stringliteral.KeysCollector
com.e1c.langtool.v8.dt.bsl.stringliteral.DefaultStringLiteralCollector
- All Implemented Interfaces:
TypedStringLiteralFeatureValueCollector
- Direct Known Subclasses:
AutoComputedStringCollector,FormatCollector,QueryCollector
-
Field Summary
FieldsFields inherited from class com.e1c.langtool.v8.dt.bsl.stringliteral.KeysCollector
KEYS_DELIM, SKIP_TYPES, SUPPORTED_TYPES, typeComputerFields 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) getKeys(StringLiteral literal, boolean checkValidKey) protected booleanisComputedValue(StringLiteral literal, String content, CollectingContext context) protected booleanbooleanisSupport(StringLiteral literal, Collection<LiteralType> types) Checks if collector is support given literal and it's types.protected booleanMethods inherited from class com.e1c.langtool.v8.dt.bsl.stringliteral.KeysCollector
getContextDefCache, isKeyComputedMethods inherited from class com.e1c.langtool.v8.dt.bsl.stringliteral.AbstractStringLiteralLinesCollector
collect, createLiteralLinesContextTranslationKey, createLiteralLinesContextTranslationKey
-
Field Details
-
FQN_WORD
- See Also:
-
-
Constructor Details
-
DefaultStringLiteralCollector
public DefaultStringLiteralCollector()
-
-
Method Details
-
isSupport
Description copied from interface:TypedStringLiteralFeatureValueCollectorChecks if collector is support given literal and it's types.- Specified by:
isSupportin interfaceTypedStringLiteralFeatureValueCollector- Overrides:
isSupportin classKeysCollector- Parameters:
literal- the literaltypes- the types to check- Returns:
- true, if collector is support the literal
-
isLinesComputedByDefault
protected boolean isLinesComputedByDefault()- Overrides:
isLinesComputedByDefaultin classKeysCollector
-
collectContent
protected void collectContent(StringLiteral literal, CollectingContext context, org.eclipse.core.runtime.IProgressMonitor monitor) - Overrides:
collectContentin classKeysCollector
-
isComputedValue
- Overrides:
isComputedValuein classAbstractStringLiteralLinesCollector
-
needToCollectByKeys
protected boolean needToCollectByKeys() -
getKeys
- Overrides:
getKeysin classKeysCollector
-
createFeatureValue
protected FeatureValue createFeatureValue(StringLiteral literal, FeatureKey literalFeatureKey, org.eclipse.core.resources.IFile file, String key, boolean isKeyComputed) - Overrides:
createFeatureValuein classKeysCollector
-