Class QueryCollector
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
com.e1c.langtool.v8.dt.bsl.stringliteral.QueryCollector
- All Implemented Interfaces:
TypedStringLiteralFeatureValueCollector
-
Field Summary
Fields inherited from class com.e1c.langtool.v8.dt.bsl.stringliteral.DefaultStringLiteralCollector
FQN_WORDFields inherited from class com.e1c.langtool.v8.dt.bsl.stringliteral.KeysCollector
KEYS_DELIM, SKIP_TYPES, SUPPORTED_TYPESFields 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 ContextTranslationKeycreateLiteralLinesContextTranslationKey(org.eclipse.core.resources.IFile file, FeatureKey featureKey, String content) 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.DefaultStringLiteralCollector
createFeatureValue, getKeysMethods 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
-
Constructor Details
-
QueryCollector
public QueryCollector()
-
-
Method Details
-
isSupport
Description copied from interface:TypedStringLiteralFeatureValueCollectorChecks if collector is support given literal and it's types.- Specified by:
isSupportin interfaceTypedStringLiteralFeatureValueCollector- Overrides:
isSupportin classDefaultStringLiteralCollector- Parameters:
literal- the literaltypes- the types to check- Returns:
- true, if collector is support the literal
-
isLinesComputedByDefault
protected boolean isLinesComputedByDefault()- Overrides:
isLinesComputedByDefaultin classDefaultStringLiteralCollector
-
collectContent
protected void collectContent(StringLiteral literal, CollectingContext context, org.eclipse.core.runtime.IProgressMonitor monitor) - Overrides:
collectContentin classDefaultStringLiteralCollector
-
isComputedValue
- Overrides:
isComputedValuein classDefaultStringLiteralCollector
-
needToCollectByKeys
protected boolean needToCollectByKeys()- Overrides:
needToCollectByKeysin classDefaultStringLiteralCollector
-
createLiteralLinesContextTranslationKey
protected ContextTranslationKey createLiteralLinesContextTranslationKey(org.eclipse.core.resources.IFile file, FeatureKey featureKey, String content) - Overrides:
createLiteralLinesContextTranslationKeyin classAbstractStringLiteralLinesCollector
-