LspLocation class final
LSP location: a range inside a document.
Constructors
- LspLocation({required String uri, required LspRange range})
-
Creates an LspLocation.
const
-
LspLocation.fromJson(Map<
String, dynamic> json) -
Parses a JSON
{"uri": ..., "range": ...}map.factory
Properties
Methods
-
format(
String cwd) → String -
file:line:colwith 1-indexed coordinates, path relative tocwd(omp'sformatLocation). -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited