Diligent Engine
Loading...
Searching...
No Matches
binding_api.BindingAPI Class Reference
Inheritance diagram for binding_api.BindingAPI:
generate.Generator generate.Generator

Public Member Functions

 configure_selection (self, field_policies)
 validate_scope (self, name, spec)
 interface_method_owners (self, name, method)
 resolve_output_length (self, query, siblings, context)
 result_length_method (self, owner, name, context)

Detailed Description

A private, adapted view of a validated model, independent of its emitter.

Backends share selection and adapter validation while supplying their own
language types, call glue, storage, and runtime behavior.

Member Function Documentation

◆ configure_selection()

binding_api.BindingAPI.configure_selection ( self,
field_policies )
Apply backend selections without modifying the source model.

◆ interface_method_owners()

binding_api.BindingAPI.interface_method_owners ( self,
name,
method )
Enumerate every declaration of a method throughout the inheritance chain.

◆ resolve_output_length()

binding_api.BindingAPI.resolve_output_length ( self,
query,
siblings,
context )
Validate length_from and return its count type, input, and member expression.

◆ result_length_method()

binding_api.BindingAPI.result_length_method ( self,
owner,
name,
context )
Resolve a length_method count getter on the owner or its base interfaces.

◆ validate_scope()

binding_api.BindingAPI.validate_scope ( self,
name,
spec )
Scope adapters describe API semantics explicitly, never by method name.