feat(furc/parser): add function calls

This commit is contained in:
2026-08-09 18:34:53 +02:00
parent a420ebf69f
commit 4b9f58b34f
3 changed files with 62 additions and 31 deletions
+8
View File
@@ -134,6 +134,7 @@ public:
Literal,
VarRead,
FunctionCall,
Group,
BinaryOp,
UnaryOp,
@@ -156,6 +157,13 @@ struct var_read_expr_node final : public expr_node {
: name(std::move(name)) {}
};
struct func_call_expr_node final : public expr_node {
expr_type_e expr_type() const override { return FunctionCall; }
expr_node* lhs = nullptr;
std::vector<expr_node*> args;
};
struct group_expr_node final : public expr_node {
expr_type_e expr_type() const override { return Group; }