COPASI API
4.40.278
|
#include <CEvaluationNode.h>
Public Member Functions | |
CPrecedence (const CPrecedence &src) | |
CPrecedence (const size_t &left=0, const size_t &right=0) | |
~CPrecedence () | |
Public Attributes | |
size_t | left |
size_t | right |
Structure holding the precedence information
Nodes of type WHITESPACE are ignored. Higher right than left precedence means evaluation proceeds form left to right. Higher left precedence as can be found for the operator '^' means evaluation proceeds from right to left.
left precedence | | right precedence --------------—+-----------—+---------------— | LOGIC: | 3 | .not. | 2 4 | .or. | 5 6 | .xor. | 7 8 | .and. | 9 10 | .eq. | 11 12 | .ne. | 13 14 | .gt. | 15 16 | .ge. | 17 18 | .lt. | 19 20 | .le. | 21 --------------—+-----------—+---------------— | OPERATOR: | 22 | - | 23 22 | + | 23 26 | % | 27 28 | / | 29 28 | * | 29 33 | ^ | 32 --------------—+-----------—+---------------— 35 | FUNCTION | 34 35 | MV_FUNCTION | 34 35 | CALL | 34 35 | CHOICE | 34 --------------—+-----------—+---------------— 36 | NUMBER | 37 36 | CONSTANT | 37 36 | OBJECT | 37 36 | VARIABLE | 37 --------------—+-----------—+---------------— | STRUCTURE: | ULONG_MAX | (| 1 0 | , | 1 0 |) | ULONG_MAX
CEvaluationNode::CPrecedence::CPrecedence | ( | const size_t & | left = 0 , |
const size_t & | right = 0 |
||
) |
Default constructor
const | size_t & left (default: 0) |
const | size_t & right (default: 0) |
CEvaluationNode::CPrecedence::CPrecedence | ( | const CPrecedence & | src | ) |
Copy constructor
const | CPrecedence & src |
CEvaluationNode::CPrecedence::~CPrecedence | ( | ) |
Destructor
size_t CEvaluationNode::CPrecedence::left |
The left precedence
Referenced by CEvaluationNode::operator<().
size_t CEvaluationNode::CPrecedence::right |
The left precedence
Referenced by CEvaluationNode::operator<().