No Clock  1.0.2
Input / Output

Input or output expressions. More...

Functions

void expression_fprint (FILE *f, const expression *e)
 Write an expression to an output stream. More...
 
void expression_print (const expression *e)
 Write an expression to stdout. More...
 
char * expression_to_string (const expression *e)
 Convert an expression to a string. More...
 

Detailed Description

Input or output expressions.

Since
version 1.0.0

These functions provide ways to print expressions into streams or strings.

Function Documentation

void expression_fprint ( FILE *  f,
const expression *  e 
)
related

Write an expression to an output stream.

Since
version 1.0.0
Parameters
fOutput stream.
eExpression to write.
void expression_print ( const expression *  e)
related

Write an expression to stdout.

Since
version 1.0.0
Parameters
eExpression to write.
char * expression_to_string ( const expression *  e)
related

Convert an expression to a string.

Since
version 1.0.0
Parameters
eThe expression to convert into a string.
Returns
The resulting string.
Warning
It is up to the user to free the resulting string.