mirror of
https://github.com/github/codeql.git
synced 2026-08-05 09:53:29 +02:00
18 lines
415 B
Plaintext
18 lines
415 B
Plaintext
class Locatable extends @locatable {
|
|
string toString() { result = "locatable" }
|
|
}
|
|
|
|
class Location extends @location {
|
|
string toString() { result = "location" }
|
|
}
|
|
|
|
class ParExpr extends Locatable, @parexpr {
|
|
override string toString() { result = "(...)" }
|
|
}
|
|
|
|
from Locatable locatable, Location location
|
|
where
|
|
hasLocation(locatable, location) and
|
|
not locatable instanceof ParExpr
|
|
select locatable, location
|