Class QueryPartCollector
java.lang.Object
com.e1c.langtool.v8.dt.bsl.stringliteral.AbstractStringLiteralLinesCollector
com.e1c.langtool.v8.dt.bsl.stringliteral.AbstractQueryPartProcessor
com.e1c.langtool.v8.dt.bsl.stringliteral.QueryPartCollector
- All Implemented Interfaces:
TypedStringLiteralFeatureValueCollector
-
Field Summary
Fields inherited from class com.e1c.langtool.v8.dt.bsl.stringliteral.AbstractQueryPartProcessor
internalizeDbViewTermsProvider, stringParserProvider, typeComputer, v8ProjectManagerFields 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 FeatureValuecreateCommentFeatureValue(FeatureKey featureKey, org.eclipse.core.resources.IFile file, String content) protected FeatureValuecreateKeyFeatureValue(FeatureKey featureKey, org.eclipse.core.resources.IFile file, String key, boolean isKeyComputed) protected FeatureValuecreateStringLiteralFeatureValue(FeatureKey featureKey, org.eclipse.core.resources.IFile file, String content) protected booleanisKeyComputed(StringLiteral literal, String key, 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.AbstractQueryPartProcessor
createCommentContextTranslationKey, createKeyContextTranslationKey, createStringLiteralContextTranslationKey, getCommentContent, getKey, getQlPartStringParser, getStringLiteralContentMethods inherited from class com.e1c.langtool.v8.dt.bsl.stringliteral.AbstractStringLiteralLinesCollector
collect, createLiteralLinesContextTranslationKey, createLiteralLinesContextTranslationKey, isComputedValue
-
Constructor Details
-
QueryPartCollector
public QueryPartCollector()
-
-
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) - Overrides:
collectContentin classAbstractQueryPartProcessor
-
isKeyComputed
-
isLinesComputedByDefault
protected boolean isLinesComputedByDefault()- Overrides:
isLinesComputedByDefaultin classAbstractQueryPartProcessor
-
createKeyFeatureValue
protected FeatureValue createKeyFeatureValue(FeatureKey featureKey, org.eclipse.core.resources.IFile file, String key, boolean isKeyComputed) -
createStringLiteralFeatureValue
protected FeatureValue createStringLiteralFeatureValue(FeatureKey featureKey, org.eclipse.core.resources.IFile file, String content) -
createCommentFeatureValue
protected FeatureValue createCommentFeatureValue(FeatureKey featureKey, org.eclipse.core.resources.IFile file, String content)
-