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 com.github._1c_syntax.bsl.languageserver.context.symbol.AbstractVariableSymbol
AbstractVariableSymbol.Builder
-
Constructor Summary
ConstructorDescriptionIntBasedVariableSymbol
(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 com.github._1c_syntax.bsl.languageserver.context.symbol.AbstractVariableSymbol
accept, builder, getChildren, getDescription, getKind, getName, getOwner, getParent, getScope, getSelectionRange, getSymbolKind, isExport, setParent
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.github._1c_syntax.bsl.languageserver.context.symbol.SourceDefinedSymbol
getRootParent
Methods inherited from interface com.github._1c_syntax.bsl.languageserver.context.symbol.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
- Specified by:
getVariableNameRange
in interfaceVariableSymbol
- Specified by:
getVariableNameRange
in classAbstractVariableSymbol
- Returns:
- Диапазон, в котором определено имя переменной.
-
toString
- Overrides:
toString
in classAbstractVariableSymbol
-
equals
- Overrides:
equals
in classAbstractVariableSymbol
-
canEqual
- Overrides:
canEqual
in classAbstractVariableSymbol
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAbstractVariableSymbol
-