EC_NODE_TYPE(3)
π 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:
ec_node_check_type(3)ec_node_iter(3)ec_node_attrs(3)ec_node_find(3)ec_node_type_name(3)ec_node_free(3)ec_node_id(3)ec_node_type_dump(3)ec_node_get_config(3)ec_node_schema_dump(3)ec_node_priv(3)ec_node_type_lookup(3)ec_node_clone(3)ec_node_dump(3)ec_node_desc(3)ec_node_iter_free(3)ec_node_iter_get_parent(3)ec_node_from_type(3)ec_node_iter_next(3)ec_node_type_schema(3)ec_node(3)ec_node_get_children_count(3)ec_node_get_type_name(3)ec_node_type_register(3)ec_node_set_config(3)ec_node_iter_get_node(3)ec_node_get_child(3)
Twenty-seven links. She knows EVERYONE. Main character energy fr fr ππ
π COPYRIGHT π
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
- fedora 44: libecoli-devel 0.11.7-1.fc44 Β· BSD-3-Clause AND LicenseRef-Fedora-Public-Domain
- fedora 44: libecoli-devel 0.11.7-1.fc44 Β· BSD-3-Clause AND LicenseRef-Fedora-Public-Domain
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms