nixd
|
#include <Protocol.h>
Public Attributes | |
int64_t | line = 0 |
Line position in a document (zero-based). | |
int64_t | character = 0 |
Friends | |
bool | operator== (const Position &LHS, const Position &RHS) |
bool | operator!= (const Position &LHS, const Position &RHS) |
bool | operator< (const Position &LHS, const Position &RHS) |
bool | operator<= (const Position &LHS, const Position &RHS) |
Definition at line 128 of file lspserver/include/lspserver/Protocol.h.
Definition at line 141 of file lspserver/include/lspserver/Protocol.h.
Definition at line 144 of file lspserver/include/lspserver/Protocol.h.
Definition at line 148 of file lspserver/include/lspserver/Protocol.h.
Definition at line 137 of file lspserver/include/lspserver/Protocol.h.
int64_t lspserver::Position::character = 0 |
Character offset on a line in a document (zero-based). WARNING: this is in UTF-16 codepoints, not bytes or characters! Use the functions in SourceCode.h to construct/interpret Positions.
Definition at line 135 of file lspserver/include/lspserver/Protocol.h.
Referenced by lspserver::fromJSON(), lspserver::offsetToPosition(), lspserver::operator<<(), lspserver::positionToOffset(), lspserver::toJSON(), and nixd::toNixfPosition().
int64_t lspserver::Position::line = 0 |
Line position in a document (zero-based).
Definition at line 130 of file lspserver/include/lspserver/Protocol.h.
Referenced by lspserver::fromJSON(), lspserver::offsetToPosition(), lspserver::operator<<(), lspserver::positionToOffset(), lspserver::toJSON(), and nixd::toNixfPosition().