getablexprnum(3)
gives a specified operand of an expression.
SYNOPSYS
#include "abl101.h"
chain_list *getablexprnum( Expr, Number )
chain_list *Expr;
int Number;
PARAMETERS
- Expr
-
Expression.
- Number
-
Operand number.
DESCRIPTION
getablexprnum gives the operand Number of Expr.
RETURN VALUE
getablexprnum returns the operand Number of Expr.
EXAMPLE
#include "abl101.h"
chain_list *Expr;
Expr = createablbinexpr( ABL_AND,
createablatom( "a" ),
createablatom( "b" ) );
viewablexpr( getablexprnum( Expr, 1 ), ABL_VIEW_VHDL );