ecoli_node_sh_lex - Man Page

Name

ecoli_node_sh_lex — Shell lexer node

— A lexer node using shell-like tokenization rules.  

Synopsis

Functions

struct ec_node * ec_node_sh_lex (const char *id, struct ec_node *child)
struct ec_node * ec_node_sh_lex_expand (const char *id, struct ec_node *child)

Detailed Description

A lexer node using shell-like tokenization rules.

Configuration Schema

No configuration schema.

Function Documentation

struct ec_node * ec_node_sh_lex (const char * id, struct ec_node * child)

Create a shell lexer node.

This node tokenizes the input using shell-like lexing rules (handling quotes, escapes, etc.) and passes the resulting tokens to the child node.

Parameters

id The node identifier.
child The child node. It is consumed and will be freed when the parent is freed, or immediately on error.

Returns

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

struct ec_node * ec_node_sh_lex_expand (const char * id, struct ec_node * child)

Create a shell lexer node with variable expansion.

Same as ec_node_sh_lex() but with shell variable expansion enabled.

Parameters

id The node identifier.
child The child node. It is consumed and will be freed when the parent is freed, or immediately on error.

Returns

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

Author

Generated automatically by Doxygen for Libecoli from the source code.

Referenced By

The man pages ec_node_sh_lex(3) and ec_node_sh_lex_expand(3) are aliases of ecoli_node_sh_lex(3).

Version 0.11.3 Libecoli