xshade_parser/ast/expressions/
call_expression.rs

1use ::ast::*;
2
3#[derive(Debug, Eq, PartialEq, Serialize, Deserialize)]
4pub struct CallExpression {
5    pub span: Span,
6    pub function_name: Identifier,
7    pub arguments: Vec<Expression>,
8}
9
10impl Spanned for CallExpression {
11    fn get_span(&self) -> Span {
12        self.span
13    }
14}
15
16impl Execute for CallExpression {
17    fn execute(&self) -> Option<i32> {
18        None
19    }
20}