// generated by {{generator}}, remove this comment if you wish to edit this file /** * This module defines the hook used internally to tweak the characteristic predicate of * `{{cls.name}}` synthesized instances. * INTERNAL: Do not use. */ private import {{import_prefix}}.Raw {{#cls}} {{#is_db}} {{#has_subtracted_synth_types}} private import {{import_prefix}}.PureSynthConstructors {{/has_subtracted_synth_types}} {{/is_db}} /** * The characteristic predicate of `{{name}}` synthesized instances. * INTERNAL: Do not use. */ 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}}