From 61343ecebdaa812c2b85be1acd033094860fdb5d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jean-Christophe=20Beaupr=C3=A9?= Date: Fri, 28 Nov 2014 12:10:19 -0500 Subject: [PATCH] neo_doxygen: Document `Location`. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jean-Christophe Beaupré --- contrib/neo_doxygen/src/model/location.nit | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/contrib/neo_doxygen/src/model/location.nit b/contrib/neo_doxygen/src/model/location.nit index 8652577..f025a12 100644 --- 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 + # The file’s path. var path: nullable String = null is writable + + # The one-based index of the first line. var line_start: Int = 1 is writable + + # The one-based index of the last line. var line_end: Int = 1 is writable + + # The one-based column index of the first character. 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 -- 1.7.9.5