mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Java: Add up/downgrade scripts
This commit is contained in:
@@ -0,0 +1,15 @@
|
|||||||
|
class Field extends @field {
|
||||||
|
string toString() { none() }
|
||||||
|
}
|
||||||
|
|
||||||
|
class Type extends @type {
|
||||||
|
string toString() { none() }
|
||||||
|
}
|
||||||
|
|
||||||
|
class RefType extends @reftype {
|
||||||
|
string toString() { none() }
|
||||||
|
}
|
||||||
|
|
||||||
|
from Field f, string name, Type t, RefType parent
|
||||||
|
where fields(f, name, t, parent)
|
||||||
|
select f, name, t, parent, f
|
||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,3 @@
|
|||||||
|
description: Remove fields.sourceid
|
||||||
|
compatibility: full
|
||||||
|
fields.rel: run fields.qlo
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
class Field extends @field {
|
||||||
|
string toString() { none() }
|
||||||
|
}
|
||||||
|
|
||||||
|
class Type extends @type {
|
||||||
|
string toString() { none() }
|
||||||
|
}
|
||||||
|
|
||||||
|
class RefType extends @reftype {
|
||||||
|
string toString() { none() }
|
||||||
|
}
|
||||||
|
|
||||||
|
from Field f, string name, Type t, RefType parent
|
||||||
|
where fields(f, name, t, parent, _)
|
||||||
|
select f, name, t, parent
|
||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,3 @@
|
|||||||
|
description: Remove fields.sourceid
|
||||||
|
compatibility: full
|
||||||
|
fields.rel: run fields.qlo
|
||||||
Reference in New Issue
Block a user