EC_PNODE_MATCHES(3)
EC_PNODE_MATCHES π
okay bestie, welcome to the Libecoli Programmer's Manual, section 3 β this is the one about ec_pnode_matches. it's a lil function, it's a tiny function, and honestly? it's giving "do you even match, girl". let's get into it π
β¨ NAME β¨
ec_pnode_matches β the way that it literally checks if the parsing tree matches the input π
πΈ SYNOPSIS πΈ
so first you gotta include the header, obviously:
#include <ecoli/parse.h>
bool ec_pnode_matches(
const struct ec_pnode *pnode /* A node in the parsing tree. */
);
one argument, one job, no drama. pnode is a node in the parsing tree, and that's the whole vibe π¦
β RETURN VALUE β
trueβ the parsing tree matches, meaning it has a string vector. slay.falseβ otherwise. rip, no string vector, no match π
that's it. that's the whole function. she's simple, she's iconic, she knows what she is π
π SEE ALSO π
okay so here's the whole friend group, the entire group chat, no one's getting left on read:
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_dump(3)ec_pnode_unlink_child(3)ec_pnode_next(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)
fr fr, go read the whole set. iykyk π«Ά
π COPYRIGHT π
Copyright (C) 2010-2026 Olivier Matz, Robin Jarry.
and that's the page, bestie!! π this was libecoli, dated 2026-06-11, and honestly it ate. no cap. periodt β¨πΈπ
π¦ 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