Class IntBasedVariableSymbol
java.lang.Object
com.github._1c_syntax.bsl.languageserver.context.symbol.AbstractVariableSymbol
com.github._1c_syntax.bsl.languageserver.context.symbol.IntBasedVariableSymbol
- All Implemented Interfaces:
Describable, Exportable, SourceDefinedSymbol, Symbol, VariableSymbol
Реализация символа переменной, хранящая позицию в виде int.
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractVariableSymbol
AbstractVariableSymbol.Builder -
Constructor Summary
ConstructorsConstructorDescriptionIntBasedVariableSymbol(String name, SourceDefinedSymbol scope, DocumentContext owner, Optional<SourceDefinedSymbol> parent, byte kind, boolean export, Optional<VariableDescription> description, int startLine, int startCharacter, int endLine, int endCharacter, int variableNameLine, int variableNameStartCharacter, int variableNameEndCharacter) -
Method Summary
Methods inherited from class AbstractVariableSymbol
accept, builder, getChildren, getDescription, getKind, getName, getOwner, getParent, getScope, getSelectionRange, getSymbolKind, isExport, setParentMethods inherited from interface SourceDefinedSymbol
getRootParentMethods inherited from interface Symbol
getTags, isDeprecated
-
Constructor Details
-
IntBasedVariableSymbol
public IntBasedVariableSymbol(String name, SourceDefinedSymbol scope, DocumentContext owner, Optional<SourceDefinedSymbol> parent, byte kind, boolean export, Optional<VariableDescription> description, int startLine, int startCharacter, int endLine, int endCharacter, int variableNameLine, int variableNameStartCharacter, int variableNameEndCharacter)
-
-
Method Details
-
getRange
- Returns:
- Диапазон, который захватывает символ.
-
getVariableNameRange
- Returns:
- Диапазон, в котором определено имя переменной.
-
toString
- Overrides:
toStringin classAbstractVariableSymbol
-
equals
- Overrides:
equalsin classAbstractVariableSymbol
-
canEqual
- Overrides:
canEqualin classAbstractVariableSymbol
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractVariableSymbol
-