Expand description
Cross-cutting “kind” tag for AST nodes.
NodeKind enumerates every wire-distinct tag the borrowed-AST
surfaces produce. It is used both for internal projection
(AozoraNode::kind,
NodeRef::kind) and for the
driver wire format (crate’s host crate aozora projects
the tag to a stable camelCase string via NodeKind::as_camel_case).
The typed enum (rather than a &'static str constant) lets every
consumer pattern-match the tag exhaustively — the compiler points
out a new variant landing without a wire mapping — and concentrates
the camelCase string in a single authority.
Enums§
- Node
Kind - Cross-cutting tag for an AST node or
NodeRefprojection.