EC_NODE_TYPE(3)

πŸ“¦
version 0.11.7 Β· 5 versions
, in fedora 44

πŸ’– EC_NODE_TYPE β€” ok so like, what even IS this node bestie πŸ’–

Hey hi hello, welcome to ec_node_type(3) from the Libecoli Programmer's Manual β€” yes that's the manual, and yes we're reading a manpage together, this is our bonding moment 🫢


✨ NAME ✨

ec_node_type β€” get the type of a node. That's it. That's the whole job. She's a one-trick pony and she's SERVING πŸ΄πŸ’…


🌸 SYNOPSIS 🌸

#include <ecoli/node.h>

const struct ec_node_type * ec_node_type(
    const struct ec_node   *node   /* The grammar node. */
);

So you pass in a const struct ec_node * β€” that's your grammar node, the one you're curious about β€” and you get back a pointer to a const struct ec_node_type. Simple. Elegant. Iconic. ✨


πŸ¦‹ RETURN VALUE πŸ¦‹

The type structure of this node. That's the tea β˜• β€” hand it a node, it hands you back the type struct. No cap, that's literally the entire return value, no error codes, no surprises, no drama. πŸ‘‘


πŸ’œ SEE ALSO πŸ’œ

Ok bestie, this is the part where she introduces you to her entire friend group. Every single one of them, in order, no skipping, because we don't do that here:

Twenty-seven links. She knows EVERYONE. Main character energy fr fr πŸ‘‘πŸŒˆ


Copyright (C) 2010-2026 Olivier Matz, Robin Jarry.


and that's the whole page, bestie!! πŸ¦‹ This lil gem dropped on 2026-06-11 and lives in the libecoli manual, section 3 β€” go forth and check those node types, you're gonna slay πŸ’…πŸ’–

πŸ“¦ where this page comes from