Files

2.2 KiB

LspRange

Properties

Name Type Description Notes
End Pointer to LspPosition End is the position just past the span, excluded — the range is half-open, so an empty range has Start equal to End. [optional]
Start Pointer to LspPosition Start is the first position in the span, included. [optional]

Methods

NewLspRange

func NewLspRange() *LspRange

NewLspRange instantiates a new LspRange object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewLspRangeWithDefaults

func NewLspRangeWithDefaults() *LspRange

NewLspRangeWithDefaults instantiates a new LspRange object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetEnd

func (o *LspRange) GetEnd() LspPosition

GetEnd returns the End field if non-nil, zero value otherwise.

GetEndOk

func (o *LspRange) GetEndOk() (*LspPosition, bool)

GetEndOk returns a tuple with the End field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetEnd

func (o *LspRange) SetEnd(v LspPosition)

SetEnd sets End field to given value.

HasEnd

func (o *LspRange) HasEnd() bool

HasEnd returns a boolean if a field has been set.

GetStart

func (o *LspRange) GetStart() LspPosition

GetStart returns the Start field if non-nil, zero value otherwise.

GetStartOk

func (o *LspRange) GetStartOk() (*LspPosition, bool)

GetStartOk returns a tuple with the Start field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetStart

func (o *LspRange) SetStart(v LspPosition)

SetStart sets Start field to given value.

HasStart

func (o *LspRange) HasStart() bool

HasStart returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]