C++/C#/JavaScript/Python: Port Location qldoc update.

This commit is contained in:
Anders Schack-Mulligen
2020-07-07 11:39:27 +02:00
parent 993506d781
commit 67db1df00c
4 changed files with 16 additions and 16 deletions

View File

@@ -38,16 +38,16 @@ class Location extends @location {
/** Gets a textual representation of this location. */
string toString() { none() }
/** Gets the start line of this location. */
/** Gets the 1-based line number (inclusive) where this location starts. */
final int getStartLine() { this.hasLocationInfo(_, result, _, _, _) }
/** Gets the end line of this location. */
/** Gets the 1-based line number (inclusive) where this location ends. */
final int getEndLine() { this.hasLocationInfo(_, _, _, result, _) }
/** Gets the start column of this location. */
/** Gets the 1-based column number (inclusive) where this location starts. */
final int getStartColumn() { this.hasLocationInfo(_, _, result, _, _) }
/** Gets the end column of this location. */
/** Gets the 1-based column number (inclusive) where this location ends. */
final int getEndColumn() { this.hasLocationInfo(_, _, _, _, result) }
}