# Functions
DeepestRef finds the first definition ref, from a cascade of nested refs which are not definitions.
RewriteSchemaToRef replaces a schema with a Ref.
UpdateRef replaces a ref by another one.
UpdateRefWithSchema replaces a ref with a schema (i.e.
# Structs
DeepestRefResult holds the results from DeepestRef analysis.