chore: change UserFunction to HoistableFunction to prepare for mututal recursion
This commit is contained in:
@@ -40,13 +40,14 @@ pub enum CodeGenFunction {
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug)]
|
||||
pub enum UserFunction {
|
||||
pub enum HoistableFunction {
|
||||
Function {
|
||||
body: AirTree,
|
||||
deps: Vec<(FunctionAccessKey, String)>,
|
||||
params: Vec<String>,
|
||||
},
|
||||
Link(String),
|
||||
Link((FunctionAccessKey, String)),
|
||||
CyclicLink((FunctionAccessKey, String)),
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug)]
|
||||
|
||||
Reference in New Issue
Block a user