mirror of
https://github.com/github/codeql.git
synced 2025-12-21 03:06:31 +01:00
18 lines
795 B
Plaintext
Generated
18 lines
795 B
Plaintext
Generated
// generated by codegen, do not edit
|
|
import codeql.rust.elements
|
|
import TestUtils
|
|
|
|
from
|
|
MethodCallExpr x, string hasArgList, int getNumberOfAttrs, string hasGenericArgList,
|
|
string hasNameRef, string hasReceiver
|
|
where
|
|
toBeTested(x) and
|
|
not x.isUnknown() and
|
|
(if x.hasArgList() then hasArgList = "yes" else hasArgList = "no") and
|
|
getNumberOfAttrs = x.getNumberOfAttrs() and
|
|
(if x.hasGenericArgList() then hasGenericArgList = "yes" else hasGenericArgList = "no") and
|
|
(if x.hasNameRef() then hasNameRef = "yes" else hasNameRef = "no") and
|
|
if x.hasReceiver() then hasReceiver = "yes" else hasReceiver = "no"
|
|
select x, "hasArgList:", hasArgList, "getNumberOfAttrs:", getNumberOfAttrs, "hasGenericArgList:",
|
|
hasGenericArgList, "hasNameRef:", hasNameRef, "hasReceiver:", hasReceiver
|