mirror of
https://github.com/github/codeql.git
synced 2026-08-05 01:43:23 +02:00
18 lines
346 B
Plaintext
18 lines
346 B
Plaintext
class Expr extends @expr {
|
|
string toString() { result = "expr" }
|
|
}
|
|
|
|
class ParExpr extends Expr, @parexpr {
|
|
override string toString() { result = "(...)" }
|
|
}
|
|
|
|
class Statement extends @stmt {
|
|
string toString() { result = "stmt" }
|
|
}
|
|
|
|
from Expr id, Statement s
|
|
where
|
|
statementEnclosingExpr(id, s) and
|
|
not id instanceof ParExpr
|
|
select id, s
|