Skip to content

Commit

Permalink
#676 Add getters to FunctionCall to make this information available w…
Browse files Browse the repository at this point in the history
…hen used as a library (#677)
  • Loading branch information
magbak authored Aug 25, 2023
1 parent a784868 commit d4b848a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/func.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,14 @@ impl FunctionCall {
self.args = args.into_iter().collect();
self
}

pub fn get_func(&self) -> &Function {
&self.func
}

pub fn get_args(&self) -> &Vec<SimpleExpr> {
&self.args
}
}

/// Function call helper.
Expand Down

0 comments on commit d4b848a

Please sign in to comment.