Wyvern. IR protocol
(wyvern v1.0.4)
Copy Markdown
Summary
Functions
Converts the term (expected to be an Wyvern struct) into a string representation of the IR ready to be passed to clang.
Types
@type t() :: term()
All the types that implement this protocol.
Functions
@spec resolve_names(any(), Wyvern.IR.Context.t()) :: Wyvern.IR.Context.t()
@spec to_ir(any(), Wyvern.IR.Context.t()) :: {String.t(), Wyvern.IR.Context.t()}
Converts the term (expected to be an Wyvern struct) into a string representation of the IR ready to be passed to clang.