Wyvern.IR protocol (wyvern v1.0.4)

Copy Markdown

Summary

Types

t()

All the types that implement this protocol.

Functions

Converts the term (expected to be an Wyvern struct) into a string representation of the IR ready to be passed to clang.

Types

t()

@type t() :: term()

All the types that implement this protocol.

Functions

resolve_names(term, ctx)

@spec resolve_names(any(), Wyvern.IR.Context.t()) :: Wyvern.IR.Context.t()

to_ir(term, ctx)

@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.