mirror of
https://github.com/github/codeql.git
synced 2026-02-08 11:11:06 +01:00
Add missing extends Formula
This commit is contained in:
committed by
GitHub
parent
ed767b4a54
commit
7bd0bf9908
@@ -771,7 +771,7 @@ class NewTypeBranch extends TNewTypeBranch, TypeDeclaration {
|
||||
* or a member call `foo.bar()`,
|
||||
* or a special call to `none()` or `any()`.
|
||||
*/
|
||||
class Call extends TCall, Expr {
|
||||
class Call extends TCall, Expr, Formula {
|
||||
/** Gets the `i`th argument of this call. */
|
||||
Expr getArgument(int i) {
|
||||
none() // overriden in sublcasses.
|
||||
@@ -1014,7 +1014,7 @@ class Conjunction extends TConjunction, AstNode, Formula {
|
||||
}
|
||||
|
||||
/** An `or` formula, with 2 or more operands. */
|
||||
class Disjunction extends TDisjunction, AstNode {
|
||||
class Disjunction extends TDisjunction, AstNode, Formula {
|
||||
Generated::Disjunction disj;
|
||||
|
||||
Disjunction() { this = TDisjunction(disj) }
|
||||
|
||||
Reference in New Issue
Block a user