Update link text

This commit is contained in:
james
2019-01-30 09:44:07 +00:00
parent a98aae0a24
commit 7cc1442ecb
39 changed files with 47 additions and 47 deletions

View File

@@ -64,7 +64,7 @@ class SuppressionScope extends ElementBase {
* The location spans column `startcolumn` of line `startline` to * The location spans column `startcolumn` of line `startline` to
* column `endcolumn` of line `endline` in file `filepath`. * column `endcolumn` of line `endline` in file `filepath`.
* For more information, see * For more information, see
* [LGTM locations](https://help.semmle.com/QL/learn-ql/ql/locations.html). * [Locations](https://help.semmle.com/QL/learn-ql/ql/locations.html).
*/ */
predicate hasLocationInfo(string filepath, int startline, int startcolumn, int endline, int endcolumn) { predicate hasLocationInfo(string filepath, int startline, int startcolumn, int endline, int endcolumn) {
this.(SuppressionComment).covers(filepath, startline, startcolumn, endline, endcolumn) this.(SuppressionComment).covers(filepath, startline, startcolumn, endline, endcolumn)

View File

@@ -127,7 +127,7 @@ class CommentBlock extends Comment {
* The location spans column `startcolumn` of line `startline` to * The location spans column `startcolumn` of line `startline` to
* column `endcolumn` of line `endline` in file `filepath`. * column `endcolumn` of line `endline` in file `filepath`.
* For more information, see * For more information, see
* [LGTM locations](https://help.semmle.com/QL/learn-ql/ql/locations.html). * [Locations](https://help.semmle.com/QL/learn-ql/ql/locations.html).
*/ */
predicate hasLocationInfo(string filepath, int startline, int startcolumn, int endline, int endcolumn) { predicate hasLocationInfo(string filepath, int startline, int startcolumn, int endline, int endcolumn) {
this.getLocation().hasLocationInfo(filepath, startline, startcolumn, _, _) and this.getLocation().hasLocationInfo(filepath, startline, startcolumn, _, _) and

View File

@@ -17,7 +17,7 @@ class RangeFunction extends Function {
* The location spans column `startcolumn` of line `startline` to * The location spans column `startcolumn` of line `startline` to
* column `endcolumn` of line `endline` in file `filepath`. * column `endcolumn` of line `endline` in file `filepath`.
* For more information, see * For more information, see
* [LGTM locations](https://help.semmle.com/QL/learn-ql/ql/locations.html). * [Locations](https://help.semmle.com/QL/learn-ql/ql/locations.html).
*/ */
predicate hasLocationInfo(string path, int sl, int sc, int el, int ec) { predicate hasLocationInfo(string path, int sl, int sc, int el, int ec) {
super.getLocation().hasLocationInfo(path, sl, sc, _, _) super.getLocation().hasLocationInfo(path, sl, sc, _, _)

View File

@@ -23,7 +23,7 @@ class Top extends Element {
* The location spans column `startcolumn` of line `startline` to * The location spans column `startcolumn` of line `startline` to
* column `endcolumn` of line `endline` in file `filepath`. * column `endcolumn` of line `endline` in file `filepath`.
* For more information, see * For more information, see
* [LGTM locations](https://help.semmle.com/QL/learn-ql/ql/locations.html). * [Locations](https://help.semmle.com/QL/learn-ql/ql/locations.html).
*/ */
predicate hasLocationInfo(string filepath, predicate hasLocationInfo(string filepath,
int startline, int startcolumn, int startline, int startcolumn,

View File

@@ -34,7 +34,7 @@ abstract class Container extends Locatable, @container {
* DEPRECATED: Use `getLocation` instead. * DEPRECATED: Use `getLocation` instead.
* Gets a URL representing the location of this container. * Gets a URL representing the location of this container.
* *
* For more information see https://help.semmle.com/QL/learn-ql/ql/locations.html#providing-urls. * For more information see [Providing URLs](https://help.semmle.com/QL/learn-ql/ql/locations.html#providing-urls).
*/ */
deprecated abstract string getURL(); deprecated abstract string getURL();

View File

@@ -68,7 +68,7 @@ class Location extends @location {
* The location spans column `startcolumn` of line `startline` to * The location spans column `startcolumn` of line `startline` to
* column `endcolumn` of line `endline` in file `filepath`. * column `endcolumn` of line `endline` in file `filepath`.
* For more information, see * For more information, see
* [LGTM locations](https://help.semmle.com/QL/learn-ql/ql/locations.html). * [Locations](https://help.semmle.com/QL/learn-ql/ql/locations.html).
*/ */
predicate hasLocationInfo( predicate hasLocationInfo(
string filepath, int startline, int startcolumn, int endline, int endcolumn) { string filepath, int startline, int startcolumn, int endline, int endcolumn) {

View File

@@ -195,7 +195,7 @@ class BasicBlock extends ControlFlowNodeBase {
* The location spans column `startcolumn` of line `startline` to * The location spans column `startcolumn` of line `startline` to
* column `endcolumn` of line `endline` in file `filepath`. * column `endcolumn` of line `endline` in file `filepath`.
* For more information, see * For more information, see
* [LGTM locations](https://help.semmle.com/QL/learn-ql/ql/locations.html). * [Locations](https://help.semmle.com/QL/learn-ql/ql/locations.html).
* *
* Yields no result if this basic block spans multiple source files. * Yields no result if this basic block spans multiple source files.
*/ */

View File

@@ -233,7 +233,7 @@ svnchurn(
* The location spans column `startcolumn` of line `startline` to * The location spans column `startcolumn` of line `startline` to
* column `endcolumn` of line `endline` in file `file`. * column `endcolumn` of line `endline` in file `file`.
* For more information, see * For more information, see
* [LGTM locations](https://help.semmle.com/QL/learn-ql/ql/locations.html). * [Locations](https://help.semmle.com/QL/learn-ql/ql/locations.html).
*/ */
locations_default( locations_default(
/** The location of an element that is not an expression or a statement. */ /** The location of an element that is not an expression or a statement. */
@@ -250,7 +250,7 @@ locations_default(
* The location spans column `startcolumn` of line `startline` to * The location spans column `startcolumn` of line `startline` to
* column `endcolumn` of line `endline` in file `file`. * column `endcolumn` of line `endline` in file `file`.
* For more information, see * For more information, see
* [LGTM locations](https://help.semmle.com/QL/learn-ql/ql/locations.html). * [Locations](https://help.semmle.com/QL/learn-ql/ql/locations.html).
*/ */
locations_stmt( locations_stmt(
/** The location of a statement. */ /** The location of a statement. */
@@ -267,7 +267,7 @@ locations_stmt(
* The location spans column `startcolumn` of line `startline` to * The location spans column `startcolumn` of line `startline` to
* column `endcolumn` of line `endline` in file `file`. * column `endcolumn` of line `endline` in file `file`.
* For more information, see * For more information, see
* [LGTM locations](https://help.semmle.com/QL/learn-ql/ql/locations.html). * [Locations](https://help.semmle.com/QL/learn-ql/ql/locations.html).
*/ */
locations_expr( locations_expr(
/** The location of an expression. */ /** The location of an expression. */

View File

@@ -53,7 +53,7 @@ class SuppressionScope extends @commentline {
* The location spans column `startcolumn` of line `startline` to * The location spans column `startcolumn` of line `startline` to
* column `endcolumn` of line `endline` in file `filepath`. * column `endcolumn` of line `endline` in file `filepath`.
* For more information, see * For more information, see
* [LGTM locations](https://help.semmle.com/QL/learn-ql/ql/locations.html). * [Locations](https://help.semmle.com/QL/learn-ql/ql/locations.html).
*/ */
predicate hasLocationInfo( predicate hasLocationInfo(
string filepath, int startline, int startcolumn, int endline, int endcolumn string filepath, int startline, int startcolumn, int endline, int endcolumn

View File

@@ -15,7 +15,7 @@ abstract class Use extends @type_mention_parent {
* The location spans column `startcolumn` of line `startline` to * The location spans column `startcolumn` of line `startline` to
* column `endcolumn` of line `endline` in file `filepath`. * column `endcolumn` of line `endline` in file `filepath`.
* For more information, see * For more information, see
* [LGTM locations](https://help.semmle.com/QL/learn-ql/ql/locations.html). * [Locations](https://help.semmle.com/QL/learn-ql/ql/locations.html).
*/ */
predicate hasLocationInfo( predicate hasLocationInfo(
string filepath, int startline, int startcolumn, int endline, int endcolumn string filepath, int startline, int startcolumn, int endline, int endcolumn

View File

@@ -6,7 +6,7 @@ private string relativePath(File file) { result = file.getRelativePath().replace
* Holds if the `index`-th token of block `copy` is in file `file`, spanning * Holds if the `index`-th token of block `copy` is in file `file`, spanning
* column `sc` of line `sl` to column `ec` of line `el`. * column `sc` of line `sl` to column `ec` of line `el`.
* *
* For more information, see [LGTM locations](https://help.semmle.com/QL/learn-ql/ql/locations.html). * For more information, see [Locations](https://help.semmle.com/QL/learn-ql/ql/locations.html).
*/ */
pragma[nomagic] pragma[nomagic]
predicate tokenLocation(File file, int sl, int sc, int ec, int el, Copy copy, int index) { predicate tokenLocation(File file, int sl, int sc, int ec, int el, Copy copy, int index) {

View File

@@ -33,7 +33,7 @@ class Container extends @container {
/** /**
* Gets a URL representing the location of this container. * Gets a URL representing the location of this container.
* *
* For more information see https://help.semmle.com/QL/learn-ql/ql/locations.html#providing-urls. * For more information see [Providing URLs](https://help.semmle.com/QL/learn-ql/ql/locations.html#providing-urls).
*/ */
string getURL() { none() } string getURL() { none() }

View File

@@ -27,7 +27,7 @@ class Location extends @location {
* The location spans column `startcolumn` of line `startline` to * The location spans column `startcolumn` of line `startline` to
* column `endcolumn` of line `endline` in file `filepath`. * column `endcolumn` of line `endline` in file `filepath`.
* For more information, see * For more information, see
* [LGTM locations](https://help.semmle.com/QL/learn-ql/ql/locations.html). * [Locations](https://help.semmle.com/QL/learn-ql/ql/locations.html).
*/ */
predicate hasLocationInfo( predicate hasLocationInfo(
string filepath, int startline, int startcolumn, int endline, int endcolumn string filepath, int startline, int startcolumn, int endline, int endcolumn

View File

@@ -59,7 +59,7 @@ class SuppressionScope extends @javadoc {
* The location spans column `startcolumn` of line `startline` to * The location spans column `startcolumn` of line `startline` to
* column `endcolumn` of line `endline` in file `filepath`. * column `endcolumn` of line `endline` in file `filepath`.
* For more information, see * For more information, see
* [LGTM locations](https://help.semmle.com/QL/learn-ql/ql/locations.html). * [Locations](https://help.semmle.com/QL/learn-ql/ql/locations.html).
*/ */
predicate hasLocationInfo( predicate hasLocationInfo(
string filepath, int startline, int startcolumn, int endline, int endcolumn string filepath, int startline, int startcolumn, int endline, int endcolumn

View File

@@ -8,7 +8,7 @@ import java
* column `startcolumn` of line `startline` to column `endcolumn` of line `endline` * column `startcolumn` of line `startline` to column `endcolumn` of line `endline`
* in file `filepath`. * in file `filepath`.
* *
* For more information, see [LGTM locations](https://help.semmle.com/QL/learn-ql/ql/locations.html). * For more information, see [Locations](https://help.semmle.com/QL/learn-ql/ql/locations.html).
*/ */
external predicate defectResults( external predicate defectResults(
int id, string queryPath, string file, int startline, int startcol, int endline, int endcol, int id, string queryPath, string file, int startline, int startcol, int endline, int endcol,

View File

@@ -33,7 +33,7 @@ class Container extends @container, Top {
/** /**
* Gets a URL representing the location of this container. * Gets a URL representing the location of this container.
* *
* For more information see https://help.semmle.com/QL/learn-ql/ql/locations.html#providing-urls. * For more information see [Providing URLs](https://help.semmle.com/QL/learn-ql/ql/locations.html#providing-urls).
*/ */
abstract string getURL(); abstract string getURL();

View File

@@ -57,7 +57,7 @@ class Top extends @top {
* The location spans column `startcolumn` of line `startline` to * The location spans column `startcolumn` of line `startline` to
* column `endcolumn` of line `endline` in file `filepath`. * column `endcolumn` of line `endline` in file `filepath`.
* For more information, see * For more information, see
* [LGTM locations](https://help.semmle.com/QL/learn-ql/ql/locations.html). * [Locations](https://help.semmle.com/QL/learn-ql/ql/locations.html).
*/ */
predicate hasLocationInfo( predicate hasLocationInfo(
string filepath, int startline, int startcolumn, int endline, int endcolumn string filepath, int startline, int startcolumn, int endline, int endcolumn
@@ -150,7 +150,7 @@ class Location extends @location {
* The location spans column `startcolumn` of line `startline` to * The location spans column `startcolumn` of line `startline` to
* column `endcolumn` of line `endline` in file `filepath`. * column `endcolumn` of line `endline` in file `filepath`.
* For more information, see * For more information, see
* [LGTM locations](https://help.semmle.com/QL/learn-ql/ql/locations.html). * [Locations](https://help.semmle.com/QL/learn-ql/ql/locations.html).
*/ */
predicate hasLocationInfo( predicate hasLocationInfo(
string filepath, int startline, int startcolumn, int endline, int endcolumn string filepath, int startline, int startcolumn, int endline, int endcolumn

View File

@@ -14,7 +14,7 @@ abstract class XMLLocatable extends @xmllocatable {
* The location spans column `startcolumn` of line `startline` to * The location spans column `startcolumn` of line `startline` to
* column `endcolumn` of line `endline` in file `filepath`. * column `endcolumn` of line `endline` in file `filepath`.
* For more information, see * For more information, see
* [LGTM locations](https://help.semmle.com/QL/learn-ql/ql/locations.html). * [Locations](https://help.semmle.com/QL/learn-ql/ql/locations.html).
*/ */
predicate hasLocationInfo( predicate hasLocationInfo(
string filepath, int startline, int startcolumn, int endline, int endcolumn string filepath, int startline, int startcolumn, int endline, int endcolumn

View File

@@ -62,7 +62,7 @@ class SuppressionScope extends @locatable {
* The location spans column `startcolumn` of line `startline` to * The location spans column `startcolumn` of line `startline` to
* column `endcolumn` of line `endline` in file `filepath`. * column `endcolumn` of line `endline` in file `filepath`.
* For more information, see * For more information, see
* [LGTM locations](https://help.semmle.com/QL/learn-ql/ql/locations.html). * [Locations](https://help.semmle.com/QL/learn-ql/ql/locations.html).
*/ */
predicate hasLocationInfo( predicate hasLocationInfo(
string filepath, int startline, int startcolumn, int endline, int endcolumn string filepath, int startline, int startcolumn, int endline, int endcolumn

View File

@@ -127,7 +127,7 @@ class CommentedOutCode extends Comment {
* The location spans column `startcolumn` of line `startline` to * The location spans column `startcolumn` of line `startline` to
* column `endcolumn` of line `endline` in file `filepath`. * column `endcolumn` of line `endline` in file `filepath`.
* For more information, see * For more information, see
* [LGTM locations](https://help.semmle.com/QL/learn-ql/ql/locations.html). * [Locations](https://help.semmle.com/QL/learn-ql/ql/locations.html).
*/ */
predicate hasLocationInfo( predicate hasLocationInfo(
string filepath, int startline, int startcolumn, int endline, int endcolumn string filepath, int startline, int startcolumn, int endline, int endcolumn

View File

@@ -22,7 +22,7 @@ class IdentifierPart extends string {
* The location spans column `startcolumn` of line `startline` to * The location spans column `startcolumn` of line `startline` to
* column `endcolumn` of line `endline` in file `filepath`. * column `endcolumn` of line `endline` in file `filepath`.
* For more information, see * For more information, see
* [LGTM locations](https://help.semmle.com/QL/learn-ql/ql/locations.html). * [Locations](https://help.semmle.com/QL/learn-ql/ql/locations.html).
*/ */
predicate hasLocationInfo( predicate hasLocationInfo(
string filepath, int startline, int startcolumn, int endline, int endcolumn string filepath, int startline, int startcolumn, int endline, int endcolumn

View File

@@ -29,7 +29,7 @@ class OmittedArrayElement extends ArrayExpr {
* The location spans column `startcolumn` of line `startline` to * The location spans column `startcolumn` of line `startline` to
* column `endcolumn` of line `endline` in file `filepath`. * column `endcolumn` of line `endline` in file `filepath`.
* For more information, see * For more information, see
* [LGTM locations](https://help.semmle.com/QL/learn-ql/ql/locations.html). * [Locations](https://help.semmle.com/QL/learn-ql/ql/locations.html).
*/ */
predicate hasLocationInfo( predicate hasLocationInfo(
string filepath, int startline, int startcolumn, int endline, int endcolumn string filepath, int startline, int startcolumn, int endline, int endcolumn

View File

@@ -68,7 +68,7 @@ class SpuriousArguments extends Expr {
* The location spans column `startcolumn` of line `startline` to * The location spans column `startcolumn` of line `startline` to
* column `endcolumn` of line `endline` in file `filepath`. * column `endcolumn` of line `endline` in file `filepath`.
* For more information, see * For more information, see
* [LGTM locations](https://help.semmle.com/QL/learn-ql/ql/locations.html). * [Locations](https://help.semmle.com/QL/learn-ql/ql/locations.html).
*/ */
predicate hasLocationInfo( predicate hasLocationInfo(
string filepath, int startline, int startcolumn, int endline, int endcolumn string filepath, int startline, int startcolumn, int endline, int endcolumn

View File

@@ -9,7 +9,7 @@ private string relativePath(File file) { result = file.getRelativePath().replace
* Holds if the `index`-th token of block `copy` is in file `file`, spanning * Holds if the `index`-th token of block `copy` is in file `file`, spanning
* column `sc` of line `sl` to column `ec` of line `el`. * column `sc` of line `sl` to column `ec` of line `el`.
* *
* For more information, see [LGTM locations](https://help.semmle.com/QL/learn-ql/ql/locations.html). * For more information, see [Locations](https://help.semmle.com/QL/learn-ql/ql/locations.html).
*/ */
pragma[noinline] pragma[noinline]
private predicate tokenLocation(File file, int sl, int sc, int ec, int el, Copy copy, int index) { private predicate tokenLocation(File file, int sl, int sc, int ec, int el, Copy copy, int index) {
@@ -62,7 +62,7 @@ class Copy extends @duplication_or_similarity {
* The location spans column `startcolumn` of line `startline` to * The location spans column `startcolumn` of line `startline` to
* column `endcolumn` of line `endline` in file `filepath`. * column `endcolumn` of line `endline` in file `filepath`.
* For more information, see * For more information, see
* [LGTM locations](https://help.semmle.com/QL/learn-ql/ql/locations.html). * [Locations](https://help.semmle.com/QL/learn-ql/ql/locations.html).
*/ */
predicate hasLocationInfo( predicate hasLocationInfo(
string filepath, int startline, int startcolumn, int endline, int endcolumn string filepath, int startline, int startcolumn, int endline, int endcolumn

View File

@@ -8,7 +8,7 @@ import semmle.javascript.Files
* column `startcolumn` of line `startline` to column `endcolumn` of line `endline` * column `startcolumn` of line `startline` to column `endcolumn` of line `endline`
* in file `filepath`. * in file `filepath`.
* *
* For more information, see [LGTM locations](https://help.semmle.com/QL/learn-ql/ql/locations.html). * For more information, see [Locations](https://help.semmle.com/QL/learn-ql/ql/locations.html).
*/ */
external predicate defectResults( external predicate defectResults(
int id, string queryPath, string file, int startline, int startcol, int endline, int endcol, int id, string queryPath, string file, int startline, int startcol, int endline, int endcol,

View File

@@ -8,7 +8,7 @@ import javascript
* column `startcolumn` of line `startline` to column `endcolumn` of line `endline` * column `startcolumn` of line `startline` to column `endcolumn` of line `endline`
* in file `filepath`. * in file `filepath`.
* *
* For more information, see [LGTM locations](https://help.semmle.com/QL/learn-ql/ql/locations.html). * For more information, see [Locations](https://help.semmle.com/QL/learn-ql/ql/locations.html).
*/ */
external predicate metricResults( external predicate metricResults(
int id, string queryPath, string file, int startline, int startcol, int endline, int endcol, int id, string queryPath, string file, int startline, int startcol, int endline, int endcol,

View File

@@ -34,7 +34,7 @@ abstract class Container extends @container {
/** /**
* Gets a URL representing the location of this container. * Gets a URL representing the location of this container.
* *
* For more information see https://help.semmle.com/QL/learn-ql/ql/locations.html#providing-urls. * For more information see [Providing URLs](https://help.semmle.com/QL/learn-ql/ql/locations.html#providing-urls).
*/ */
abstract string getURL(); abstract string getURL();

View File

@@ -6,7 +6,7 @@ import javascript
* A location as given by a file, a start line, a start column, * A location as given by a file, a start line, a start column,
* an end line, and an end column. * an end line, and an end column.
* *
* For more information about locations see [LGTM locations](https://help.semmle.com/QL/learn-ql/ql/locations.html). * For more information about locations see [Locations](https://help.semmle.com/QL/learn-ql/ql/locations.html).
*/ */
class Location extends @location { class Location extends @location {
/** Gets the file for this location. */ /** Gets the file for this location. */
@@ -70,7 +70,7 @@ class Location extends @location {
* The location spans column `startcolumn` of line `startline` to * The location spans column `startcolumn` of line `startline` to
* column `endcolumn` of line `endline` in file `filepath`. * column `endcolumn` of line `endline` in file `filepath`.
* For more information, see * For more information, see
* [LGTM locations](https://help.semmle.com/QL/learn-ql/ql/locations.html). * [Locations](https://help.semmle.com/QL/learn-ql/ql/locations.html).
*/ */
predicate hasLocationInfo( predicate hasLocationInfo(
string filepath, int startline, int startcolumn, int endline, int endcolumn string filepath, int startline, int startcolumn, int endline, int endcolumn

View File

@@ -14,7 +14,7 @@ class FirstLineOf extends Locatable {
* The location spans column `startcolumn` of line `startline` to * The location spans column `startcolumn` of line `startline` to
* column `endcolumn` of line `endline` in file `filepath`. * column `endcolumn` of line `endline` in file `filepath`.
* For more information, see * For more information, see
* [LGTM locations](https://help.semmle.com/QL/learn-ql/ql/locations.html). * [Locations](https://help.semmle.com/QL/learn-ql/ql/locations.html).
*/ */
predicate hasLocationInfo( predicate hasLocationInfo(
string filepath, int startline, int startcolumn, int endline, int endcolumn string filepath, int startline, int startcolumn, int endline, int endcolumn
@@ -44,7 +44,7 @@ class LastLineOf extends Locatable {
* The location spans column `startcolumn` of line `startline` to * The location spans column `startcolumn` of line `startline` to
* column `endcolumn` of line `endline` in file `filepath`. * column `endcolumn` of line `endline` in file `filepath`.
* For more information, see * For more information, see
* [LGTM locations](https://help.semmle.com/QL/learn-ql/ql/locations.html). * [Locations](https://help.semmle.com/QL/learn-ql/ql/locations.html).
*/ */
predicate hasLocationInfo( predicate hasLocationInfo(
string filepath, int startline, int startcolumn, int endline, int endcolumn string filepath, int startline, int startcolumn, int endline, int endcolumn

View File

@@ -414,7 +414,7 @@ class SsaVariable extends TSsaDefinition {
* The location spans column `startcolumn` of line `startline` to * The location spans column `startcolumn` of line `startline` to
* column `endcolumn` of line `endline` in file `filepath`. * column `endcolumn` of line `endline` in file `filepath`.
* For more information, see * For more information, see
* [LGTM locations](https://help.semmle.com/QL/learn-ql/ql/locations.html). * [Locations](https://help.semmle.com/QL/learn-ql/ql/locations.html).
*/ */
predicate hasLocationInfo( predicate hasLocationInfo(
string filepath, int startline, int startcolumn, int endline, int endcolumn string filepath, int startline, int startcolumn, int endline, int endcolumn
@@ -479,7 +479,7 @@ class SsaDefinition extends TSsaDefinition {
* The location spans column `startcolumn` of line `startline` to * The location spans column `startcolumn` of line `startline` to
* column `endcolumn` of line `endline` in file `filepath`. * column `endcolumn` of line `endline` in file `filepath`.
* For more information, see * For more information, see
* [LGTM locations](https://help.semmle.com/QL/learn-ql/ql/locations.html). * [Locations](https://help.semmle.com/QL/learn-ql/ql/locations.html).
*/ */
abstract predicate hasLocationInfo( abstract predicate hasLocationInfo(
string filepath, int startline, int startcolumn, int endline, int endcolumn string filepath, int startline, int startcolumn, int endline, int endcolumn

View File

@@ -14,7 +14,7 @@ abstract class XMLLocatable extends @xmllocatable {
* The location spans column `startcolumn` of line `startline` to * The location spans column `startcolumn` of line `startline` to
* column `endcolumn` of line `endline` in file `filepath`. * column `endcolumn` of line `endline` in file `filepath`.
* For more information, see * For more information, see
* [LGTM locations](https://help.semmle.com/QL/learn-ql/ql/locations.html). * [Locations](https://help.semmle.com/QL/learn-ql/ql/locations.html).
*/ */
predicate hasLocationInfo( predicate hasLocationInfo(
string filepath, int startline, int startcolumn, int endline, int endcolumn string filepath, int startline, int startcolumn, int endline, int endcolumn

View File

@@ -109,7 +109,7 @@ class AbstractValue extends TAbstractValue {
* The location spans column `startcolumn` of line `startline` to * The location spans column `startcolumn` of line `startline` to
* column `endcolumn` of line `endline` in file `f`. * column `endcolumn` of line `endline` in file `f`.
* For more information, see * For more information, see
* [LGTM locations](https://help.semmle.com/QL/learn-ql/ql/locations.html). * [Locations](https://help.semmle.com/QL/learn-ql/ql/locations.html).
*/ */
predicate hasLocationInfo(string f, int startline, int startcolumn, int endline, int endcolumn) { predicate hasLocationInfo(string f, int startline, int startcolumn, int endline, int endcolumn) {
f = "" and startline = 0 and startcolumn = 0 and endline = 0 and endcolumn = 0 f = "" and startline = 0 and startcolumn = 0 and endline = 0 and endcolumn = 0

View File

@@ -897,7 +897,7 @@ class PathNode extends TPathNode {
* The location spans column `startcolumn` of line `startline` to * The location spans column `startcolumn` of line `startline` to
* column `endcolumn` of line `endline` in file `filepath`. * column `endcolumn` of line `endline` in file `filepath`.
* For more information, see * For more information, see
* [LGTM locations](https://help.semmle.com/QL/learn-ql/ql/locations.html). * [Locations](https://help.semmle.com/QL/learn-ql/ql/locations.html).
*/ */
predicate hasLocationInfo( predicate hasLocationInfo(
string filepath, int startline, int startcolumn, int endline, int endcolumn string filepath, int startline, int startcolumn, int endline, int endcolumn

View File

@@ -115,7 +115,7 @@ module DataFlow {
* The location spans column `startcolumn` of line `startline` to * The location spans column `startcolumn` of line `startline` to
* column `endcolumn` of line `endline` in file `filepath`. * column `endcolumn` of line `endline` in file `filepath`.
* For more information, see * For more information, see
* [LGTM locations](https://help.semmle.com/QL/learn-ql/ql/locations.html). * [Locations](https://help.semmle.com/QL/learn-ql/ql/locations.html).
*/ */
predicate hasLocationInfo( predicate hasLocationInfo(
string filepath, int startline, int startcolumn, int endline, int endcolumn string filepath, int startline, int startcolumn, int endline, int endcolumn

View File

@@ -131,7 +131,7 @@ class XUnitAnnotation extends Expr {
* The location spans column `startcolumn` of line `startline` to * The location spans column `startcolumn` of line `startline` to
* column `endcolumn` of line `endline` in file `filepath`. * column `endcolumn` of line `endline` in file `filepath`.
* For more information, see * For more information, see
* [LGTM locations](https://help.semmle.com/QL/learn-ql/ql/locations.html). * [Locations](https://help.semmle.com/QL/learn-ql/ql/locations.html).
*/ */
predicate hasLocationInfo( predicate hasLocationInfo(
string filepath, int startline, int startcolumn, int endline, int endcolumn string filepath, int startline, int startcolumn, int endline, int endcolumn

View File

@@ -106,7 +106,7 @@ class SuppressionScope extends @py_comment {
* The location spans column `startcolumn` of line `startline` to * The location spans column `startcolumn` of line `startline` to
* column `endcolumn` of line `endline` in file `filepath`. * column `endcolumn` of line `endline` in file `filepath`.
* For more information, see * For more information, see
* [LGTM locations](https://help.semmle.com/QL/learn-ql/ql/locations.html). * [Locations](https://help.semmle.com/QL/learn-ql/ql/locations.html).
*/ */
predicate hasLocationInfo(string filepath, int startline, int startcolumn, int endline, int endcolumn) { predicate hasLocationInfo(string filepath, int startline, int startcolumn, int endline, int endcolumn) {
this.(SuppressionComment).covers(filepath, startline, startcolumn, endline, endcolumn) this.(SuppressionComment).covers(filepath, startline, startcolumn, endline, endcolumn)

View File

@@ -12,7 +12,7 @@ string relativePath(File file) {
* Holds if the `index`-th token of block `copy` is in file `file`, spanning * Holds if the `index`-th token of block `copy` is in file `file`, spanning
* column `sc` of line `sl` to column `ec` of line `el`. * column `sc` of line `sl` to column `ec` of line `el`.
* *
* For more information, see [LGTM locations](https://help.semmle.com/QL/learn-ql/ql/locations.html). * For more information, see [Locations](https://help.semmle.com/QL/learn-ql/ql/locations.html).
*/ */
pragma[noinline, nomagic] pragma[noinline, nomagic]
private predicate tokenLocation(File file, int sl, int sc, int ec, int el, Copy copy, int index) { private predicate tokenLocation(File file, int sl, int sc, int ec, int el, Copy copy, int index) {
@@ -82,7 +82,7 @@ class Copy extends @duplication_or_similarity
* The location spans column `startcolumn` of line `startline` to * The location spans column `startcolumn` of line `startline` to
* column `endcolumn` of line `endline` in file `filepath`. * column `endcolumn` of line `endline` in file `filepath`.
* For more information, see * For more information, see
* [LGTM locations](https://help.semmle.com/QL/learn-ql/ql/locations.html). * [Locations](https://help.semmle.com/QL/learn-ql/ql/locations.html).
*/ */
predicate hasLocationInfo(string filepath, int startline, int startcolumn, int endline, int endcolumn) { predicate hasLocationInfo(string filepath, int startline, int startcolumn, int endline, int endcolumn) {
sourceFile().getName() = filepath and sourceFile().getName() = filepath and

View File

@@ -8,7 +8,7 @@ import semmle.python.Files
* column `startcol` of line `startline` to column `endcol` of line `endline` * column `startcol` of line `startline` to column `endcol` of line `endline`
* in file `filepath`. * in file `filepath`.
* *
* For more information, see [LGTM locations](https://help.semmle.com/QL/learn-ql/ql/locations.html). * For more information, see [Locations](https://help.semmle.com/QL/learn-ql/ql/locations.html).
*/ */
external predicate defectResults(int id, string queryPath, string filepath, int startline, external predicate defectResults(int id, string queryPath, string filepath, int startline,
int startcol, int endline, int endcol, string message); int startcol, int endline, int endcol, string message);

View File

@@ -321,7 +321,7 @@ abstract class Container extends @container {
/** /**
* Gets a URL representing the location of this container. * Gets a URL representing the location of this container.
* *
* For more information see https://help.semmle.com/QL/learn-ql/ql/locations.html#providing-urls. * For more information see [Providing URLs](https://help.semmle.com/QL/learn-ql/ql/locations.html#providing-urls).
*/ */
abstract string getURL(); abstract string getURL();