module Schematrix::Generators::Templates::TypeComposer

The bare-type algebra shared by every type-emitting format: computing the type of a schema, its variants, array elements and intersections is one algorithm; only the syntax of the target notation differs. Formats including this module The spelling hooks every notation supplies: untyped, scalar type, array_of, string_keyed_hash, null_only_type, nilable_type, maybe_type, element_union, join_union and join_intersection. Maybe mode itself is read off the template (Templates::Base#maybe_wrapped?).