implemented member access parsing

This commit is contained in:
Lorenzo Torres 2025-12-01 11:22:44 +01:00
parent c566f7d490
commit d1b89939ae
4 changed files with 33 additions and 1 deletions

View file

@ -128,6 +128,11 @@ typedef struct _ast_node {
struct _ast_node *expr;
struct _ast_node *index;
} subscript;
struct {
struct _ast_node *expr;
char *member;
usize member_len;
} access;
struct {
struct _ast_node *expr;
struct _ast_node *next;