|
Libecoli 0.11.1
Extensible COmmand LIne library
|
A lexer node using shell-like tokenization rules. More...
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) |
A lexer node using shell-like tokenization rules.
Configuration Schema
No configuration schema.
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.
| id | The node identifier. |
| child | The child node. It is consumed and will be freed when the parent is freed, or immediately on error. |
Create a shell lexer node with variable expansion.
Same as ec_node_sh_lex() but with shell variable expansion enabled.
| id | The node identifier. |
| child | The child node. It is consumed and will be freed when the parent is freed, or immediately on error. |