nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
neo_doxygen: Document `Location`.
[nit.git]
/
contrib
/
neo_doxygen
/
src
/
model
/
location.nit
diff --git
a/contrib/neo_doxygen/src/model/location.nit
b/contrib/neo_doxygen/src/model/location.nit
index
8652577
..
f025a12
100644
(file)
--- a/
contrib/neo_doxygen/src/model/location.nit
+++ b/
contrib/neo_doxygen/src/model/location.nit
@@
-21,10
+21,19
@@
import neo4j
class Location
super Jsonable
class Location
super Jsonable
+ # The file’s path.
var path: nullable String = null is writable
var path: nullable String = null is writable
+
+ # The one-based index of the first line.
var line_start: Int = 1 is writable
var line_start: Int = 1 is writable
+
+ # The one-based index of the last line.
var line_end: Int = 1 is writable
var line_end: Int = 1 is writable
+
+ # The one-based column index of the first character.
var column_start: Int = 1 is writable
var column_start: Int = 1 is writable
+
+ # The one-based column index of the last character.
var column_end: Int = 1 is writable
redef fun to_s: String do
var column_end: Int = 1 is writable
redef fun to_s: String do