[][src]Module oakc::hir

Structs

HirFunction

This type represents a user defined function.

HirProgram
HirStructure

This type represents a user defined structure.

Enums

HirConstant

This type represents all constant expressions.

HirDeclaration

This type represents all the different flags and definitions that the user has access to, such as fn, const, and struct definitions, and conditional compilation statements.

HirError
HirExpression

This type represents an expression that is used as a value in a statement or in another expression.

HirStatement

This type represents a statement used in a function body. This includes loops, conditional statements, assignments, and void expressions.

HirType

This enum represents a type name in an expression. Take for example the declaration fn test(x: num) -> &void. num and &void are both HirType instances.