Class NstrParamCollector
java.lang.Object
com.e1c.langtool.v8.dt.bsl.stringliteral.NstrParamCollector
- All Implemented Interfaces:
TypedStringLiteralFeatureValueCollector
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcollect(StringLiteral literal, CollectingContext context, org.eclipse.core.runtime.IProgressMonitor monitor) Collect the translatable content of literal.booleanisSupport(StringLiteral literal, Collection<LiteralType> types) Checks if collector is support given literal and it's types.
-
Constructor Details
-
NstrParamCollector
public NstrParamCollector()
-
-
Method Details
-
isSupport
Description copied from interface:TypedStringLiteralFeatureValueCollectorChecks if collector is support given literal and it's types.- Specified by:
isSupportin interfaceTypedStringLiteralFeatureValueCollector- Parameters:
literal- the literaltypes- the types to check- Returns:
- true, if collector is support the literal
-
collect
public void collect(StringLiteral literal, CollectingContext context, org.eclipse.core.runtime.IProgressMonitor monitor) Description copied from interface:TypedStringLiteralFeatureValueCollectorCollect the translatable content of literal.- Specified by:
collectin interfaceTypedStringLiteralFeatureValueCollector- Parameters:
literal- the literal to collectcontext- the context of collectingmonitor- the monitor
-