mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
17 lines
543 B
Plaintext
17 lines
543 B
Plaintext
// generated by {{generator}}, do not edit
|
|
|
|
import {{elements_module}}
|
|
import TestUtils
|
|
|
|
from {{class_name}} x{{#properties}}, {{#type}}{{.}}{{/type}}{{^type}}string{{/type}} {{getter}}{{/properties}}
|
|
where toBeTested(x) and not x.isUnknown()
|
|
{{#properties}}
|
|
{{#type}}
|
|
and {{getter}} = x.{{getter}}()
|
|
{{/type}}
|
|
{{^type}}
|
|
and if x.{{getter}}() then {{getter}} = "yes" else {{getter}} = "no"
|
|
{{/type}}
|
|
{{/properties}}
|
|
select x{{#show_ql_class}}, x.getPrimaryQlClasses(){{/show_ql_class}}{{#properties}}, "{{getter}}:", {{getter}}{{/properties}}
|