Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

getablexprsupport(3) [debian man page]

GETABLEXPRSUPPORT(3)						   ABL FUNCTIONS					      GETABLEXPRSUPPORT(3)

NAME
getablexprsupport - gives the expression's support. ORIGIN
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Universite 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 *getablexprsupport( Expr, Mode ) chain_list *Expr; int Mode; PARAMETERS
Expr Expression. Mode The returned support's mode. DESCRIPTION
getablexprsupport gives the support of Expr. if Mode is ABL_SUPPORT_CHAIN the support is returned using chain_list else it is returned using ptype_list. The support must be freed using the freechain or freeptype functions. RETURN VALUE
getablexprsupport returns a pointer to a chain_list or a ptype_list. EXAMPLE
#include "abl101.h" chain_list *Expr; ptype_list *Support; ptype_list *ScanSupport; Expr = createablbinexpr( ABL_AND, createablatom( "a" ), createablatom( "b" ) ); Support = getablexprsupport( Expr, ABL_SUPPORT_PTYPE ); /* displays a b */ for ( ScanSupport = Support; ScanSupport != (ptype_list *)0; ScanSupport = ScanSupport->NEXT ) { printf( "%s ", (char *)ScanSupport->DATA ); } freeptype( Support ); SEE ALSO
abl(1) BUG REPORT
This tool is under development at the ASIM department of the LIP6 laboratory. We need your feedback to improve documentation and tools. ASIM
/LIP6 October 1, 1997 GETABLEXPRSUPPORT(3)

Check Out this Related Man Page

GETABLEXPRNUMOCC(3)						   ABL FUNCTIONS					       GETABLEXPRNUMOCC(3)

NAME
getablexprnumocc - how many times a name appears in an expression. ORIGIN
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Universite 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" long getablexprnumocc( Expr, Name ) chain_list *Expr; char *Name; PARAMETERS
Expr Expression. Name Name to find. DESCRIPTION
getablexprnumocc gives the number of occurents of Name in Expr. RETURN VALUE
getablexprnumocc returns number of occurents of Name in Expr. EXAMPLE
#include "abl101.h" chain_list *Expr; Expr = createablbinexpr( ABL_AND, createablatom( "a" ), createablatom( "b" ) ); /* displays 1 */ printf( "%d", getablexprnumocc( Expr, "a" ) ); SEE ALSO
abl(1) BUG REPORT
This tool is under development at the ASIM department of the LIP6 laboratory. We need your feedback to improve documentation and tools. ASIM
/LIP6 October 1, 1997 GETABLEXPRNUMOCC(3)
Man Page