add statements and bug fix for arrays

This commit is contained in:
2024-10-19 00:22:40 -04:00
parent f2cfb03fa1
commit 44e5d74e5e
4 changed files with 180 additions and 145 deletions

View File

@@ -41,11 +41,11 @@ impl Function {
}
}
pub fn name(&self) -> Option<&str> {
pub(crate) fn name(&self) -> Option<&str> {
self.name.as_ref().map(|x| x.as_str())
}
pub fn get_type(&self) -> FunctionType {
pub(crate) fn get_type(&self) -> FunctionType {
self.t.clone()
}