I/O on expression_list lists.
More...
I/O on expression_list lists.
| void expression_list_fprint |
( |
FILE * |
f, |
|
|
const expression_list * |
list, |
|
|
const char * |
separator |
|
) |
| |
|
related |
Write an expression list to an output stream.
- Since
- version
1.0.0
- Parameters
-
| f | Output stream. |
| list | List to write. |
| separator | Separator. |
This function will print each expression found in the list using expression_to_fprint(). If a separator is provided, it will be printed between the expressions.
| void expression_list_print |
( |
const expression_list * |
list, |
|
|
const char * |
separator |
|
) |
| |
|
related |
Write an expression list to stdout.
- Since
- version
1.0.0
- Parameters
-
| list | List to write. |
| separator | Separator. |
- Note
- This is equivalent to:
| char * expression_list_to_string |
( |
const expression_list * |
list, |
|
|
const char * |
separator |
|
) |
| |
|
related |
Convert an expression list to a string.
- Since
- version
1.0.0
- Parameters
-
| list | The expression list to convert into a string. |
| separator | Separator. |
- Returns
- The resulting string.
This function will convert each expression found in the string using expression_to_string(). The resulting strings will be concatenated into the string returned by this function. If a separator is provided, it will be used to delimit the expressions.
- Warning
- It is up to the user to free the resulting string.