ec_node_any - Man Page

Create a "any" node.

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. */
);

Description

This node always matches 1 string in the vector. An optional strvec attribute can be checked too. These attributes are usually set by a lexer node.

Return Value

The ecoli node.

See Also

Info

2026-06-11 Libecoli Programmer's Manual