table of contents
| VIEWABLEXPRSTR(3) | ABL FUNCTIONS | VIEWABLEXPRSTR(3) |
NAME¶
viewablexprstr - displays an expression in a str.
ORIGIN¶
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Université Pierre et Marie CURIE, in Paris, France.
Web : http://asim.lip6.fr/recherche/alliance/
E-mail : alliance-users@asim.lip6.fr
SYNOPSYS¶
#include "abl101.h" char *viewablexprstr( Expr, Mode )
chain_list ∗Expr;
int Mode;
PARAMETERS¶
DESCRIPTION¶
viewablexprstr displays Expr in a string, with the notation specified by Mode. The following notation types are available ABL_VIEW_INFIX, ABL_VIEW_PREFIX, ABL_VIEW_POSTFIX or ABL_VIEW_VHDL.
RETURN VALUE¶
viewablexprstr returns a pointer to the string where the expression has been displayed in. This string MUSTN'T be freed.
EXAMPLE¶
#include "abl101.h"
chain_list ∗Expr;
char ∗String;
Expr = createabloper( ABL_OR );
addablhexpr( Expr, createablatom( "a" ) );
addablhexpr( Expr, createablatom( "b" ) );
/* displays (a or b) */
String = viewablexprstr( Expr, ABL_VIEW_VHDL );
printf( String );
SEE ALSO¶
abl(1), viewablexprfile(3), viewablexpr(3).
BUG REPORT¶
This tool is under development at the ASIM department of
the LIP6 laboratory.
We need your feedback to improve documentation and tools.
| October 1, 1997 | ASIM/LIP6 |