Module lovm2_core::gen::hir[][src]

Highlevel Intermediate Representation

Structs

Access

Consecutive read on a List or Dict

Assign

Storing data in various locations

Block

List of statements forming a code block

Branch

Conditional execution

Break

Highlevel break statement

Call

Execute a CodeObject by name using the given arguments

Continue

Highlevel continue statement

Conv

Do type conversion on a lowered Expr at runtime

Hir

Highlevel representation of a function

HirLoweringRuntime

Information for the process of lowering HIR to LIR

Include

Loads a module by name into the VM

Initialize

Initialize complex objects (Dict and List), supports Expr as arguments

Interrupt

Trigger a VM interrupt

Return

Return value from a CodeObject

Slice

Create a new List containing references to values on the target List

Enums

Expr

Expressions and operations that produce Values

HirElement

Sum type for every HIR element

Iter

Iterator expressions and operations.

Operator1

Operator with one operand

Operator2

Operator with two operands

Repeat

Runs a Block forever or until a condition is met

Traits

HasBlock

Supplying functionality for all structures containing a Block

HirLowering

Structures supporting transformation into LIR

Jumpable

Structures supporting custom jump targets