expand cell capabilities to have meta data (expr name/description/etc.), as well as value editor, as well as fancy value editing widgets, all in one cell

This commit is contained in:
Ryan Fleury
2025-04-22 13:53:52 -07:00
parent 78b5582e95
commit d9d102cb56
11 changed files with 313 additions and 204 deletions
+6
View File
@@ -413,6 +413,12 @@ E_TYPE_ACCESS_FUNCTION_DEF(schema)
{
expr_is_simple = 1;
}
if(expr->kind == E_ExprKind_LeafIdentifier &&
(str8_match(expr->string, str8_lit("true"), 0) ||
str8_match(expr->string, str8_lit("false"), 0)))
{
expr_is_simple = 1;
}
if(!expr_is_simple && expr != &e_expr_nil)
{
child_type_key = e_type_key_cons_meta_expr(child_type_key, child->first->string);