Skip to content

Commit

Permalink
Publically export FuncArgMod (#751)
Browse files Browse the repository at this point in the history
  • Loading branch information
mgmarlow authored Jun 27, 2024
1 parent 71055a3 commit f27a74b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/func.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ pub struct FunctionCall {
}

#[derive(Debug, Default, Copy, Clone, PartialEq)]
pub(crate) struct FuncArgMod {
pub(crate) distinct: bool,
pub struct FuncArgMod {
pub distinct: bool,
}

impl FunctionCall {
Expand Down Expand Up @@ -85,6 +85,10 @@ impl FunctionCall {
pub fn get_args(&self) -> &[SimpleExpr] {
&self.args
}

pub fn get_mods(&self) -> &[FuncArgMod] {
&self.mods
}
}

/// Function call helper.
Expand Down

0 comments on commit f27a74b

Please sign in to comment.