pub fn any_ref_to_decl(
options: &CompileOptions<'_>,
reference: AnyRef<'_>,
all_capability_names: Option<&BTreeSet<&Name>>,
all_collection_names: Option<&BTreeSet<&Name>>,
) -> Result<(Ref, Option<String>), Error>
Expand description
Takes an AnyRef
and returns the fdecl::Ref
equivalent and the dictionary path, if
the ref was a dictionary ref.