meta: replace bluelib with fx
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
#include "ivy/status.h"
|
||||
#include "node.h"
|
||||
|
||||
#include <blue/ds/string.h>
|
||||
#include <fx/ds/string.h>
|
||||
#include <ivy/lang/lex.h>
|
||||
#include <stdio.h>
|
||||
|
||||
@@ -371,28 +371,28 @@ static void collect_children(
|
||||
}
|
||||
}
|
||||
|
||||
static void to_string(struct ivy_ast_node *node, b_string *str)
|
||||
static void to_string(struct ivy_ast_node *node, fx_string *str)
|
||||
{
|
||||
struct ivy_ast_property_node *prop = (struct ivy_ast_property_node *)node;
|
||||
|
||||
b_string_append_cstrf(
|
||||
fx_string_append_cstrf(
|
||||
str, "%s (%s) [", ivy_ast_node_type_to_string(node->n_type),
|
||||
prop->n_ident->t_str);
|
||||
|
||||
if (prop->n_flags & IVY_AST_PROPERTY_GET) {
|
||||
b_string_append_cstr(str, "get");
|
||||
fx_string_append_cstr(str, "get");
|
||||
}
|
||||
|
||||
if ((prop->n_flags & IVY_AST_PROPERTY_GET)
|
||||
&& prop->n_flags & IVY_AST_PROPERTY_SET) {
|
||||
b_string_append_cstr(str, ", ");
|
||||
fx_string_append_cstr(str, ", ");
|
||||
}
|
||||
|
||||
if (prop->n_flags & IVY_AST_PROPERTY_SET) {
|
||||
b_string_append_cstr(str, "set");
|
||||
fx_string_append_cstr(str, "set");
|
||||
}
|
||||
|
||||
b_string_append_cstr(str, "]");
|
||||
fx_string_append_cstr(str, "]");
|
||||
}
|
||||
|
||||
struct ast_node_type property_node_ops = {
|
||||
|
||||
Reference in New Issue
Block a user