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
bool DTree::has(String s) const
bool DValue::has(String s) const
:params
s : child key to test
@@ -7,13 +7,13 @@ return value : true when the node is map-shaped and contains the key
:see
>types
0_DTree
0_DValue
get_by_path
each
is_array
:content
Tests whether a map-shaped `DTree` contains a child key, without creating it. This is a read accessor: it is `const`, never creates or modifies nodes, and dereferences internal references automatically.
Tests whether a map-shaped `DValue` contains a child key, without creating it. This is a read accessor: it is `const`, never creates or modifies nodes, and dereferences internal references automatically.
Returns `false` for scalar nodes and for missing keys.