Class ShortBasedVariableSymbol
java.lang.Object
com.github._1c_syntax.bsl.languageserver.context.symbol.AbstractVariableSymbol
com.github._1c_syntax.bsl.languageserver.context.symbol.ShortBasedVariableSymbol
- All Implemented Interfaces:
Describable,Exportable,SourceDefinedSymbol,Symbol,VariableSymbol
Реализация символа переменной, хранящая позицию в виде short.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.github._1c_syntax.bsl.languageserver.context.symbol.AbstractVariableSymbol
AbstractVariableSymbol.Builder -
Constructor Summary
ConstructorsConstructorDescriptionShortBasedVariableSymbol(String name, SourceDefinedSymbol scope, DocumentContext owner, Optional<SourceDefinedSymbol> parent, byte kind, boolean export, Optional<VariableDescription> description, short startLine, short startCharacter, short endLine, short endCharacter, short variableNameLine, short variableNameStartCharacter, short 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, setParentMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.github._1c_syntax.bsl.languageserver.context.symbol.SourceDefinedSymbol
getRootParentMethods inherited from interface com.github._1c_syntax.bsl.languageserver.context.symbol.Symbol
getTags, isDeprecated
-
Constructor Details
-
ShortBasedVariableSymbol
public ShortBasedVariableSymbol(String name, SourceDefinedSymbol scope, DocumentContext owner, Optional<SourceDefinedSymbol> parent, byte kind, boolean export, Optional<VariableDescription> description, short startLine, short startCharacter, short endLine, short endCharacter, short variableNameLine, short variableNameStartCharacter, short variableNameEndCharacter)
-
-
Method Details
-
getRange
- Returns:
- Диапазон, который захватывает символ.
-
getVariableNameRange
- Returns:
- Диапазон, в котором определено имя переменной.
-
equals
- Overrides:
equalsin classAbstractVariableSymbol
-
canEqual
- Overrides:
canEqualin classAbstractVariableSymbol
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractVariableSymbol
-
toString
- Overrides:
toStringin classAbstractVariableSymbol
-