pipeline_script/ast/expr/
function_call.rs

1use crate::ast::expr::Argument;
2use crate::ast::r#type::Type;
3
4#[derive(Debug, Clone)]
5pub struct FunctionCall {
6    pub name: String,
7    pub generics: Vec<Type>,
8    pub is_method: bool,
9    pub args: Vec<Argument>,
10    pub type_generics: Vec<Type>, // 静态方法调用时有效,例如 Vec<Int>.create()
11}