Record Class SymbolTree.Basis
java.lang.Object
java.lang.Record
com.github._1c_syntax.bsl.languageserver.context.symbol.SymbolTree.Basis
- Record Components:
moduleType- тип модуля документа.mdoRef- ссылка на объект метаданных документа.bareSelfProperties- голые имена, признанные реквизитами своего типа.loopVariables- переменные из этого же дерева, впервые объявленные заголовком цикла; снимок используется только при проверке своего дерева и не переносится в следующее.
- Enclosing class:
SymbolTree
public static record SymbolTree.Basis(com.github._1c_syntax.bsl.types.ModuleType moduleType, String mdoRef, Set<String> bareSelfProperties, Set<VariableSymbol> loopVariables)
extends Record
На чём, кроме текста документа, построено дерево: привязка документа к метаданным и голые
имена, признанные при построении реквизитами своего типа. Символов у таких имён нет, поэтому
из самого дерева их не восстановить.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SymbolTree.BasisОснование дерева, построенного не по документу: годным для документа такое дерево не бывает. -
Constructor Summary
ConstructorsConstructorDescriptionBasis(com.github._1c_syntax.bsl.types.ModuleType moduleType, String mdoRef, Set<String> bareSelfProperties) Basis(com.github._1c_syntax.bsl.types.ModuleType moduleType, String mdoRef, Set<String> bareSelfProperties, Set<VariableSymbol> loopVariables) Creates an instance of aBasisrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebareSelfPropertiesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theloopVariablesrecord component.mdoRef()Returns the value of themdoRefrecord component.com.github._1c_syntax.bsl.types.ModuleTypeReturns the value of themoduleTyperecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
NONE
Основание дерева, построенного не по документу: годным для документа такое дерево не бывает. Узнаётся по ссылке, а не по значениям полей.
-
-
Constructor Details
-
Basis
public Basis(com.github._1c_syntax.bsl.types.ModuleType moduleType, String mdoRef, Set<String> bareSelfProperties, Set<VariableSymbol> loopVariables) Creates an instance of aBasisrecord class.- Parameters:
moduleType- the value for themoduleTyperecord componentmdoRef- the value for themdoRefrecord componentbareSelfProperties- the value for thebareSelfPropertiesrecord componentloopVariables- the value for theloopVariablesrecord component
-
Basis
-
-
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). -
moduleType
public com.github._1c_syntax.bsl.types.ModuleType moduleType()Returns the value of themoduleTyperecord component.- Returns:
- the value of the
moduleTyperecord component
-
mdoRef
-
bareSelfProperties
Returns the value of thebareSelfPropertiesrecord component.- Returns:
- the value of the
bareSelfPropertiesrecord component
-
loopVariables
Returns the value of theloopVariablesrecord component.- Returns:
- the value of the
loopVariablesrecord component
-