Leaf and Non-Leaf Types
Tree nodes fall into two type categories: Leaf Types and Non-Leaf Types.
A meta node’s type field accepts types from either category.
Leaf Types
Section titled “Leaf Types”Leaf types cover every Basic Type and every Passive Type, plus anchor and placeholder.
| Group | Types | |
|---|---|---|
| Integers | int, int8, int16, int32, int64uint, uint8, uint16, uint32, uint64 |
View |
| Floating-Point Numbers | float, float32, float64 |
View |
| String | string |
View |
| Boolean | bool |
View |
| Enumeration | enum |
View |
| Datetime | datetime |
View |
| Duration | duration |
View |
| Cross-Table Reference | ref |
View |
| Localization | l10n |
View |
| File Path | path |
View |
| Color | rgba |
View |
| Anchor | anchor |
View |
| Back-References | backref, backref-n |
View |
| Config Entry Source | origin |
View |
| Placeholder | placeholder |
View |
Non-Leaf Types
Section titled “Non-Leaf Types”Non-leaf types apply exclusively to [] or {} tree-structured data nodes, determining how Archmage processes these nodes and their children.
| Type | Description | Target Node | |
|---|---|---|---|
[] |
Tree array | [] |
View |
[N] |
Fixed-size tree array | [] |
View |
map |
Tree map (key-value pairs) | {} |
View |
{} |
Tree object | {} |
View |
minmax |
Tree minmax | {} |
View |
wtpool |
Tree weighted pool | [] |
View |
vector |
Tree vector | {} |
View |