EXTUTILS::PARSEXS::NODE(3pm)
π NAME π
ExtUtils::ParseXS::Node β literally the classes for the nodes of an ExtUtils::ParseXS AST, bestie π
So like, this is the manual page for ExtUtils::ParseXS::Node(3pm), and yes she's from the Perl Programmers Reference Guide, we stan β¨
πΈ SYNOPSIS πΈ
XXX TBC
Yeah. That's it. That's the synopsis. XXX TBC and nothing else β iconic behaviour honestly π (it's To Be Continued, not a bug, don't @ me)
π¦ DESCRIPTION π¦
Okay so first things first, big disclaimer energy:
XXX Sept 2024: this is Work In Progress. This API is currently private and subject to change. Fr fr, do not build your whole personality on this one yet π
Now the lore π«Ά: most of ParseXS doesn't use an AST at all β instead it just keeps exactly enough state around to emit code as it parses. This module is lowkey the start of an effort to make it use an AST instead. Baby steps, but we're getting there π
An ExtUtils::ParseXS::Node class, and its various subclasses, hold the state for the nodes of an Abstract Syntax Tree (AST), which represents the parsed state of an XS file. Slay π
Each node is basically a hash of fields β¨ Which field names are legal varies by the node type. And here's the key part, ngl β the hash keys and values can be accessed directly: there are no getter/setter methods. Like, none. Zero. Just reach into the hash, iykyk π₯
π SEE ALSO... just kidding, there isn't one
(No SEE ALSO section in this bad boy β she's short and mysterious π§)
That's the whole page, bestie π Short, sweet, still Work In Progress. Big thank-you to the perl v5.42.3 crew, dated 2026-11-03, for serving us this adorable little AST-in-progress moment ππ β catch you on the next node, mwah π
π
π¦ where this page comes from
- alpine 3.24: perl-doc 5.42.3-r0 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms