rego-cpp 1.0.0
A C++ implementation of the Rego language and runtime
Loading...
Searching...
No Matches
rego::bundle::Function Struct Reference

Represents a function in the IR. More...

#include <rego.hh>

Public Attributes

Location name
 The name of the function.
 
size_t arity
 The arity of the function.
 
std::vector< Location > path
 The path of the function (the name broken into segments)
 
std::vector< size_t > parameters
 The local indices of the function parameters.
 
size_t result
 The index of the result local.
 
std::vector< Blockblocks
 The blocks which make up the function.
 
bool cacheable
 Whether the function result can be cached.
 

Detailed Description

Represents a function in the IR.


The documentation for this struct was generated from the following file: