NAME

Text::KDL::XS::Node - A KDL node (name + args + props + children)

METHODS

name - the node identifier (string)
type_annotation - KDL type tag (e.g. author) or undef
args - arrayref of Text::KDL::XS::Value objects
props - ordered arrayref of [ key => Value ] pairs
prop($key) - Value for a given property name (last-wins)
children - arrayref of child Nodes
as_data

A lossy plain-Perl view of the node tree:

{
    name     => $string,
    type     => $string_or_undef,
    args     => [ $perl_scalar, ... ],
    props    => { $key => $perl_scalar, ... },  # last-wins
    children => [ \%child_node, ... ],
}

Property ordering and per-value type annotations are dropped; for fidelity, walk the blessed tree directly.