mirror of
https://github.com/github/codeql.git
synced 2026-02-20 17:03:41 +01:00
20 lines
604 B
Plaintext
20 lines
604 B
Plaintext
// generated by {{generator}}, remove this comment if you wish to edit this file
|
|
private import {{import_prefix}}.Raw
|
|
{{#cls}}
|
|
{{#is_db}}
|
|
{{#has_subtracted_synth_types}}
|
|
private import {{import_prefix}}.PureSynthConstructors
|
|
{{/has_subtracted_synth_types}}
|
|
{{/is_db}}
|
|
|
|
predicate construct{{name}}({{#params}}{{^first}}, {{/first}}{{type}} {{param}}{{/params}}) {
|
|
{{#is_db}}
|
|
{{#subtracted_synth_types}}{{^first}} and {{/first}}not construct{{name}}(id){{/subtracted_synth_types}}
|
|
{{^subtracted_synth_types}}any(){{/subtracted_synth_types}}
|
|
{{/is_db}}
|
|
{{^is_db}}
|
|
none()
|
|
{{/is_db}}
|
|
}
|
|
{{/cls}}
|