lang: ast: initial implementation of msg handler and selector parsing
This commit is contained in:
@@ -15,6 +15,7 @@ enum ivy_ast_node_type {
|
||||
IVY_AST_MSG,
|
||||
IVY_AST_CLASS,
|
||||
IVY_AST_MSGH,
|
||||
IVY_AST_SELECTOR,
|
||||
IVY_AST_PROPERTY,
|
||||
IVY_AST_LAMBDA,
|
||||
IVY_AST_UNIT_PACKAGE,
|
||||
@@ -92,7 +93,9 @@ struct ivy_ast_selector_node {
|
||||
/* NULL for keyword messages. */
|
||||
struct ivy_token *n_msg_name;
|
||||
/* queue of struct ivy_token; empty for unary messages. */
|
||||
b_queue n_args;
|
||||
b_queue n_arg_labels;
|
||||
/* queue of struct ivy_token; empty for unary messages. */
|
||||
b_queue n_arg_names;
|
||||
};
|
||||
|
||||
struct ivy_ast_msg_node {
|
||||
|
||||
Reference in New Issue
Block a user