EC_PNODE_LINK_CHILD(3)

okay bestie, sit down, we're talking about ec_pnode_link_child β€” a function from the Libecoli Programmer's Manual. It's a <h3>-level page in manual section 3, and honestly? It's giving "small but mighty". πŸ¦‹


✨ NAME ✨

ec_pnode_link_child β€” Link a parsing node to a parsing tree.


🌸 SYNOPSIS 🌸

#include <ecoli/parse.h>

void ec_pnode_link_child(
    /*
     * The node of the parsing tree where the child is added.
     */
    struct ec_pnode   *pnode,
    /*
     * The node (or subtree) to add in the children list.
     */
    struct ec_pnode   *child
);

πŸŽ€ DESCRIPTION πŸŽ€

so basically πŸ’… you hand it a pnode β€” that's the node of the parsing tree where the child is added β€” and a child, which is the node (or whole entire subtree, no cap) to add in the children list.

Then it goes ahead and adds that child to the node in the parsing tree, at the end of the children list. Not the front, not the middle β€” the END. periodt. ✨


πŸ‘‘ SEE ALSO πŸ‘‘

the whole friend group, fr fr 🫢:


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


and that's the whole page, bestie πŸ’– mwah. this lil icon dropped as part of libecoli on 2026-06-11, filed under EC_PNODE_LINK_CHILD(3) β€” go link some children, you're the main character of this parsing tree now πŸŒˆπŸ’…

πŸ“¦ where this page comes from