mirror of
https://github.com/github/codeql.git
synced 2026-04-22 07:15:15 +02:00
C++/C#/JavaScript/Python: Port Location qldoc update.
This commit is contained in:
@@ -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) }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user