Expand description
The translation contexts.
MacrosΒ§
- error_
assert π - Custom assert to either panic or return an error
- raise_
error π - Macro to either panic or return on error, depending on the CLI options
- register_
error π
StructsΒ§
- DepSource π
- We use this to save the origin of an id. This is useful for the external dependencies, especially if some external dependencies donβt extract: we use this information to tell the user what is the code which (transitively) lead to the extraction of those problematic dependencies.
- Error
Ctx π - The context for tracking and reporting errors.
- Item
Trans πCtx - A translation context for items. Augments the TranslateCtx with type-level variables.
- Level π
- [
Message
] or [Title
] severity level - Translate
Ctx - Translation context used while translating the crate data into our representation.
FunctionsΒ§
- catch_
sinto - Translates
T
intoU
usinghax
βsSInto
trait, catching any hax panics.