LSP::Position
Inherits LSP::Initializer < JSON::Serializable < Reference < Object
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
Sourcenew
SourceInstance methods
character
Character offset on a line in a document (zero-based). Assuming that the line is
represented as a string, the character value represents the gap between the
character and character + 1.
If the character value is greater than the line length it defaults back to the line length.
character=(character : Int32)
Character offset on a line in a document (zero-based). Assuming that the line is
represented as a string, the character value represents the gap between the
character and character + 1.
If the character value is greater than the line length it defaults back to the line length.