EC_NODE_ANY(3)
β¨ EC_NODE_ANY β¨
okay bestie, welcome to the Libecoli Programmer's Manual π today we're learning about ec_node_any, which is literally the chillest node in the whole roster. no cap.
π NAME π
ec_node_any β make an "any" node. that's it. that's the whole job. slay.
π¦ SYNOPSIS π¦
#include <ecoli/node_any.h>
struct ec_node * ec_node_any(
const char *id, /* The node identifier. */
const char *attr /* The strvec attribute to match, or NULL. */
);
the way she just takes two little strings and gives you back a whole node?? main character energy fr fr π
πΈ DESCRIPTION πΈ
okay so here's the tea β β this node always matches 1 string in the vector. like, always. one string. no more, no less. she's committed, she's loyal, she's giving stable relationship.
and if you're feeling extra, you can also pass an optional strvec attribute and it'll get checked too. π
little lore drop: these attributes are usually set by a lexer node. so if you're wondering where your attr even came from, it's probably the lexer. iykyk π§
π RETURN VALUE π
she returns the ecoli node β¨ periodt.
π SEE ALSO π
bestieβ¦ there's literally nothing here π empty. a blank space. she's mysterious like that π
π COPYRIGHT π
Copyright (C) 2010-2026 Olivier Matz, Robin Jarry.
and that's a wrap on our girl π she's from libecoli, dated 2026-06-11, and lives at EC_NODE_ANY(3) β go forth and match exactly one string, bestie, you got this π«Άπβ
π¦ 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