Record Class ParsedStrTemplateMethods
java.lang.Object
java.lang.Record
com.github._1c_syntax.bsl.languageserver.configuration.semantictokens.ParsedStrTemplateMethods
- Record Components:
localMethods- Методы для локального вызова (без указания модуля)moduleMethodPairs- Методы с указанием модуля (модуль -> набор методов)
public record ParsedStrTemplateMethods(Set<String> localMethods, Map<String, Set<String>> moduleMethodPairs)
extends Record
Предварительно разобранные паттерны функций-шаблонизаторов.
Структура:
- localMethods: Set методов для локального вызова (без модуля)
- moduleMethodPairs: Map из имени модуля -> Set методов этого модуля
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thelocalMethodsrecord component.Returns the value of themoduleMethodPairsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ParsedStrTemplateMethods
public ParsedStrTemplateMethods(Set<String> localMethods, Map<String, Set<String>> moduleMethodPairs) Creates an instance of aParsedStrTemplateMethodsrecord class.- Parameters:
localMethods- the value for thelocalMethodsrecord componentmoduleMethodPairs- the value for themoduleMethodPairsrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
localMethods
Returns the value of thelocalMethodsrecord component.- Returns:
- the value of the
localMethodsrecord component
-
moduleMethodPairs
Returns the value of themoduleMethodPairsrecord component.- Returns:
- the value of the
moduleMethodPairsrecord component
-