refactor: rename DTree to DValue

This commit is contained in:
udo
2026-06-12 11:05:52 +00:00
parent 941f5aea08
commit 7066da3cde
157 changed files with 1203 additions and 1074 deletions
+3 -3
View File
@@ -1,5 +1,5 @@
:sig
String DTree::to_string(String default_value = "") const
String DValue::to_string(String default_value = "") const
:params
default_value : returned when the node holds no usable text
@@ -7,7 +7,7 @@ return value : the scalar content as text, or `default_value`
:see
>types
0_DTree
0_DValue
to_s64
to_f64
to_bool
@@ -15,7 +15,7 @@ to_json
get_by_path
:content
Reads a `DTree` value as text. This is a read accessor: it is `const`, never creates or modifies nodes, and dereferences internal references automatically.
Reads a `DValue` value as text. This is a read accessor: it is `const`, never creates or modifies nodes, and dereferences internal references automatically.
`default_value` is returned when the value is missing or not text-convertible: