ecoli_node_seq(3)

πŸ“¦
version 0.11.3 Β· 2 versions
, in epel 9

πŸ¦‹ ecoli_node_seq(3) β€” sequence node supremacy πŸ¦‹

okay so this page is from the Libecoli manual, and it’s all about ecoli_node_seq, the node that matches a sequence of child nodes in order. no cap, it’s giving very β€œline them up and parse them in order” energy. πŸ’…


🌸 NAME 🌸

ecoli_node_seq β€” Sequence node.

  • A node that matches a sequence of child nodes in order. literally that’s the whole vibe. ✨

✨ SYNOPSIS ✨

πŸŽ€ Macros πŸŽ€

#define EC_NODE_SEQ(args...)   __ec_node_seq(args, EC_VA_END)

πŸ¦‹ Functions πŸ¦‹

struct ec_node * ec_node_seq (const char *id)
int ec_node_seq_add (struct ec_node *node, struct ec_node *child)

πŸ’– Detailed Description πŸ’–

okay bestie, picture this: a node whose whole personality is matching a sequence of child nodes in order. that’s it, that’s the node. 🫢

🌈 Configuration Schema 🌈

       schema seq {
           list children  {
               description "The list of children nodes, to be parsed in sequence.";

               node  {
                   description "A child node which is part of the sequence.";
               }
           }
       }

⭐ Macro Definition Documentation ⭐

#define EC_NODE_SEQ(args...) __ec_node_seq(args, EC_VA_END)

Create a sequence node from a list of child nodes. πŸ’«

All child nodes passed as arguments are consumed and will be freed when the sequence node is freed, or immediately on error. consumed is the key word here, bestie β€” they’re not yours anymore. 😭

Example:

EC_NODE_SEQ("myseq", child1, child2, child3)

Definition at line 29 of file node_seq.h. πŸ“


πŸ‘‘ Function Documentation πŸ‘‘

struct ec_node* ec_node_seq (const char * id)

Create an empty sequence node. ✨

Use ec_node_seq_add() to add children. 🧚

Parameters

  • id β€” The node identifier.

Returns

  • The node, or NULL on error (errno is set).

int ec_node_seq_add (struct ec_node * node, struct ec_node * child)

Add a child to a sequence node. πŸ’…

Parameters

  • node β€” The sequence node.
  • child β€” The child node to add. It is consumed and will be freed when the parent is freed, or immediately on error.

Returns

  • 0 on success, -1 on error (errno is set).

🌟 Author 🌟

Generated automatically by Doxygen for Libecoli from the source code. πŸ€– yes bestie, the robots wrote this one.


okay that’s the whole page β€” Version 0.11.3, dated Thu Apr 9 2026, from Libecoli. slay, go parse something iconic πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from