Lines Matching +defs:line +defs:end +defs:position
157 /// Line position in a document (zero-based).
158 int line = 0;
160 /// Character offset on a line in a document (zero-based).
166 return std::tie(LHS.line, LHS.character) ==
167 std::tie(RHS.line, RHS.character);
173 return std::tie(LHS.line, LHS.character) <
174 std::tie(RHS.line, RHS.character);
177 return std::tie(LHS.line, LHS.character) <=
178 std::tie(RHS.line, RHS.character);
186 /// The range's start position.
189 /// The range's end position.
190 Position end;
193 return std::tie(LHS.start, LHS.end) == std::tie(RHS.start, RHS.end);
199 return std::tie(LHS.start, LHS.end) < std::tie(RHS.start, RHS.end);
202 bool contains(Position Pos) const { return start <= Pos && Pos < end; }
204 return start <= Rng.start && Rng.end <= end;
245 /// text into a document create a range where start === end.
723 /// Signals the end of progress reporting.
865 /// The position at which this request was sent.
866 Position position;
1208 /// The position inside the text document.
1209 Position position;
1268 /// and `${3:foo}`. `$0` defines the final tab stop, it defaults to the end
1329 /// Note: The range of the edit must be a single line range and it must
1330 /// contain the position at which completion has been requested.
1382 /// Inclusive start and exclusive end offsets withing the containing signature
1434 /// The position at which this request was sent.
1435 Position position;
1658 /// An example of a type hint is a hint in this position:
1665 /// An example of a parameter hint is a hint in this position:
1680 /// An example of a decl name hint in this position:
1748 /// The position of this hint.
1749 Position position;
1816 /// token line number, relative to the previous token
1819 /// (relative to 0 or the previous token's start if they are on the same line)
1952 // per-line-folding editors.
2000 /// The position of the node to be dumped.
2020 /// A one-line dump of detailed information about the node.
2052 return llvm::hash_combine(Val.start.line, Val.start.character, Val.end.line,
2053 Val.end.character);
2056 return std::tie(LHS.start, LHS.end) == std::tie(RHS.start, RHS.end);