Skip to content

Commit f27a74b

Browse files
authored
Publically export FuncArgMod (#751)
1 parent 71055a3 commit f27a74b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Diff for: src/func.rs

+6-2
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ pub struct FunctionCall {
3838
}
3939

4040
#[derive(Debug, Default, Copy, Clone, PartialEq)]
41-
pub(crate) struct FuncArgMod {
42-
pub(crate) distinct: bool,
41+
pub struct FuncArgMod {
42+
pub distinct: bool,
4343
}
4444

4545
impl FunctionCall {
@@ -85,6 +85,10 @@ impl FunctionCall {
8585
pub fn get_args(&self) -> &[SimpleExpr] {
8686
&self.args
8787
}
88+
89+
pub fn get_mods(&self) -> &[FuncArgMod] {
90+
&self.mods
91+
}
8892
}
8993

9094
/// Function call helper.

0 commit comments

Comments
 (0)