|
FAUST compiler
0.9.9.6b8
|
#include <binop.hh>

Public Member Functions | |
| BinOp (const char *name, const char *namevec, const char *namescal, comp f, pred ln, pred rn, int priority) | |
| Node | compute (const Node &a, const Node &b) |
| bool | isRightNeutral (const Node &a) |
| bool | isLeftNeutral (const Node &a) |
Public Attributes | |
| const char * | fName |
| const char * | fNameVec |
| const char * | fNameScal |
| comp | fCompute |
| pred | fLeftNeutral |
| pred | fRightNeutral |
| int | fPriority |
| BinOp::BinOp | ( | const char * | name, |
| const char * | namevec, | ||
| const char * | namescal, | ||
| comp | f, | ||
| pred | ln, | ||
| pred | rn, | ||
| int | priority | ||
| ) | [inline] |
Definition at line 42 of file binop.hh.
: fName(name), fNameVec(namevec), fNameScal(namescal), fCompute(f), fLeftNeutral(ln), fRightNeutral(rn), fPriority(priority) { }
| Node BinOp::compute | ( | const Node & | a, |
| const Node & | b | ||
| ) | [inline] |
Definition at line 45 of file binop.hh.
References fCompute.
Referenced by simplification().
{ return fCompute(a,b); }

| bool BinOp::isLeftNeutral | ( | const Node & | a | ) | [inline] |
Definition at line 48 of file binop.hh.
References fLeftNeutral.
Referenced by simplification().
{ return fLeftNeutral(a); }

| bool BinOp::isRightNeutral | ( | const Node & | a | ) | [inline] |
Definition at line 47 of file binop.hh.
References fRightNeutral.
Referenced by simplification().
{ return fRightNeutral(a); }

Definition at line 38 of file binop.hh.
Referenced by isLeftNeutral().
| const char* BinOp::fName |
Definition at line 34 of file binop.hh.
Referenced by DocCompiler::generateBinOp().
| const char* BinOp::fNameScal |
| const char* BinOp::fNameVec |
| int BinOp::fPriority |
Definition at line 40 of file binop.hh.
Referenced by DocCompiler::generateBinOp().
Definition at line 39 of file binop.hh.
Referenced by isRightNeutral().
1.8.0