meta: replace bluelib with fx

This commit is contained in:
2026-03-16 14:07:33 +00:00
parent d2abb6faa3
commit e5546f97c2
105 changed files with 1668 additions and 1668 deletions

View File

@@ -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 = {