EC_PNODE_NEXT(3)
β¨ EC_PNODE_NEXT(3) β¨
okay bestie, so this one lives in the Libecoli Programmer's Manual and it's literally the smallest lil guy in the whole parsing tree family. but do not sleep on it!! π«Ά
πΈ NAME πΈ
ec_pnode_next β get the next sibling node, periodt. π
π SYNOPSIS π
#include <ecoli/parse.h>
struct ec_pnode * ec_pnode_next(
const struct ec_pnode *pnode /* A node in the parsing tree. */
);
so pnode is just a node in the parsing tree, that's the whole vibe. nothing else to feed it. π
π¦ DESCRIPTION π¦
bestie listen, here's the tea β:
- if
pnodeis the root of the parsing tree, it returnsNULL. yeah. root has no siblings, it's giving only-child energy, it's the main character, nobody else is on that level. π - otherwise? it returns the next sibling node. slay. π
that's it. that's the function. short and iconic. no cap.
β RETURN VALUE β
The next sibling, or NULL if there is no sibling. π«Ά
(so if you get NULL back, it's not a bug, it's just the end of the line β the tree said "we're done here" π
)
π SEE ALSO π
the whole friend group, fr fr β go read these too:
ec_pnode_len(3)ec_pnode_get_strvec(3)ec_parse(3)ec_parse_strvec(3)ec_pnode(3)ec_pnode_free_children(3)ec_pnode_get_root(3)ec_pnode_get_parent(3)ec_pnode_find_next(3)ec_pnode_get_first_child(3)ec_pnode_free(3)ec_pnode_dup(3)ec_pnode_matches(3)ec_pnode_dump(3)ec_pnode_unlink_child(3)ec_pnode_del_last_child(3)ec_pnode_link_child(3)ec_pnode_count(3)ec_pnode_get_attrs(3)ec_pnode_get_last_child(3)ec_pnode_get_node(3)ec_pnode_find(3)ec_parse_child(3)
π COPYRIGHT π
Copyright (C) 2010-2026 Olivier Matz, Robin Jarry.
and that's the whole page bestie!! this was libecoli, dated 2026-06-11, EC_PNODE_NEXT(3) β go forth and traverse those siblings responsibly. mwah πβ¨π
π¦ 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