mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
21 lines
1.1 KiB
Plaintext
Generated
21 lines
1.1 KiB
Plaintext
Generated
// generated by codegen, do not edit
|
|
import codeql.rust.elements
|
|
import TestUtils
|
|
|
|
from
|
|
PathSegment x, string hasGenericArgList, string hasNameRef, string hasParamList,
|
|
string hasPathType, string hasRetType, string hasReturnTypeSyntax, string hasTy
|
|
where
|
|
toBeTested(x) and
|
|
not x.isUnknown() and
|
|
(if x.hasGenericArgList() then hasGenericArgList = "yes" else hasGenericArgList = "no") and
|
|
(if x.hasNameRef() then hasNameRef = "yes" else hasNameRef = "no") and
|
|
(if x.hasParamList() then hasParamList = "yes" else hasParamList = "no") and
|
|
(if x.hasPathType() then hasPathType = "yes" else hasPathType = "no") and
|
|
(if x.hasRetType() then hasRetType = "yes" else hasRetType = "no") and
|
|
(if x.hasReturnTypeSyntax() then hasReturnTypeSyntax = "yes" else hasReturnTypeSyntax = "no") and
|
|
if x.hasTy() then hasTy = "yes" else hasTy = "no"
|
|
select x, "hasGenericArgList:", hasGenericArgList, "hasNameRef:", hasNameRef, "hasParamList:",
|
|
hasParamList, "hasPathType:", hasPathType, "hasRetType:", hasRetType, "hasReturnTypeSyntax:",
|
|
hasReturnTypeSyntax, "hasTy:", hasTy
|