getablexprnumbinoper3
Gives the number of binary operators in an expression.
Synopsys
#include "abl101.h" long getablexprnumbinoper( Expr ) chain_list ∗Expr;
Parameters
- Expr
-
Expression.
Overview
getablexprnumbinoper gives the number of binary operators in Expr.
Return value
getablexprnumbinoper returns the number of binary operators in Expr.
Examples
#include "abl101.h"
chain_list ∗Expr;
Expr = createablbinexpr( ABL_AND,
createablatom( "'0'" ),
createablatom( "'1'" ) );
/* displays 1 */
printf( "%d", getablexprnumbinoper( Expr ) );
Releases
4 releases since Debian 7 (Wheezy); the text changed 1 time.