* type `expression`, so the ast_ident's codegen would search for
* variables through the environment (or functions, constants...).
*/
-struct ast_expression {
+struct ast_expression : ast_node {
ast_expression() {}
- ast_node node;
ast_expression_codegen *codegen;
int vtype;
ast_expression *next;
/* arrays get a member-count */
size_t count;
- std::vector<ast_value*> params;
+ std::vector<ast_value*> type_params;
ast_flag_t flags;
/* void foo(string...) gets varparam set as a restriction
{
ast_node node;
- ast_value *vtype;
+ ast_value *function_type;
const char *name;
int builtin;