Scroll to navigation

ADDABLHEXPR(3) ABL FUNCTIONS ADDABLHEXPR(3)

NAME

addablhexpr - adds a new argument in head of an expression.

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"
void addablhexpr( Expr1, Expr2 )

chain_list *Expr1;
chain_list *Expr2;

PARAMETERS

First expression.
Second expression.

DESCRIPTION

addablhexpr adds Expr2 in head of Expr1. The expression pointers Expr2 MUSTN'T be used after the call to this function

RETURN VALUE

addablhexpr returns nothing.

EXAMPLE

#include "abl101.h"

chain_list ∗Expr;
Expr = createabloper( ABL_OR );
addablhexpr( Expr, createablatom( "a" ) );
addablhexpr( Expr, createablatom( "b" ) );
/* displays (a or b) */
viewablexpr( Expr, ABL_VIEW_VHDL );

SEE ALSO

abl(1) createablatom(3), createabloper(3), createablxorbinexpr(3), createablunaryexpr(3), createablbinexpr(3), createablnotexpr(3), addablqexpr(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