Expand description
The Julia syntax-kind set and the rowan Language binding.
SyntaxKind holds both token kinds and node kinds in a single
#[repr(u16)] enum (rust-analyzer style). The variants are contiguous and
ERROR is the last one, so JuliaLanguage::kind_from_raw recovers a kind
from its raw u16 with a bounds-checked transmute instead of a large match.
Enums§
Type Aliases§
- NodePtr
- A node’s identity without the tree: its kind plus its text range, resolvable
back to a
SyntaxNodeagainst the root it came from. The key a per-file analysis uses to name a node it does not hold (rowan’s cursors areRcbased, so keeping one alive keeps the whole tree alive). - Syntax
Element - Syntax
Node - Syntax
Token