Query: mapabloperexpr
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
MAPABLOPEREXPR(3) ABL FUNCTIONS MAPABLOPEREXPR(3)NAMEmapabloperexpr - applies a function to all operands.ORIGINThis 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.frSYNOPSYS#include "abl101.h" chain_list *mapabloperexpr( Function, Oper, Expr ) chain_list * (*Function)(); long Oper; chain_list *Expr;PARAMETERSFunction Function name to apply to all operands. Oper Operator number. Expr Expression to scan.DESCRIPTIONmapabloperexpr applies Function to all operands of Expr. mapabloperexpr creates a head of an operator expression having Oper as operator and adds the arguments calculated by applying Function to each arguments of Expr. Function must return an expression and must have a unique expression as argument.RETURN VALUEmapabloperexpr returns a new expression by applying Function to all the arguments of the operator expression Expr.EXAMPLE#include "abl101.h" chain_list *MapFunction( MapExpr ) chain_list *MapExpr; { return( createablnotexpr( dupablexpr( MapExpr ) ) ); } chain_list *Expr; chain_list *Expr1; Expr = createablbinexpr( ABL_NOR, createablatom( "a" ), createablatom( "b" ) ); Expr1 = mapabloperexpr( MapFunction, ABL_AND, Expr ); /* displays ((not a) and (not b)) */ viewablexpr( Expr1, ABL_VIEW_VHDL );SEE ALSOabl(1)BUG REPORTThis 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 MAPABLOPEREXPR(3)
Related Man Pages |
---|
addablqexpr(3) - debian |
createabloper(3) - debian |
createablunaryexpr(3) - debian |
mapablanyexpr(3) - debian |
simpablexpr(3) - debian |
Similar Topics in the Unix Linux Community |
---|
Adding the individual columns of a matrix. |
Installing Dash Shell on OS X Lion |
awk or sed - Convert 2 lines to 1 line |
New UNIX and Linux History Sections |