| 118 | /// Function call. |
| 119 | #[derive(Debug, PartialEq, Clone, Serialize, Deserialize, JsonSchema)] |
| 120 | pub struct FuncCall { |
| 121 | pub name: Box<Expr>, |
| 122 | pub args: Vec<Expr>, |
| 123 | #[serde(default, skip_serializing_if = "HashMap::is_empty")] |
| 124 | pub named_args: HashMap<String, Expr>, |
| 125 | } |
| 126 | |
| 127 | /// Function called with possibly missing positional arguments. |
| 128 | /// May also contain environment that is needed to evaluate the body. |