![]() |
rego-cpp 1.0.0
A C++ implementation of the Rego language and runtime
|
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< Block > | blocks |
| The blocks which make up the function. | |
| bool | cacheable |
| Whether the function result can be cached. | |
Represents a function in the IR.