protospec_build/asg/expression/
call.rs

1use super::*;
2
3#[derive(PartialEq, Clone, Debug)]
4pub struct CallExpression {
5    pub function: Arc<Function>,
6    pub arguments: Vec<Expression>,
7    pub span: Span,
8}
9
10impl AsgExpression for CallExpression {
11    fn get_type(&self) -> Option<Type> {
12        Some(self.function.inner.return_type())
13    }
14}