|
libSBML C++ API
5.20.5
|
Abstract Syntax Tree (AST) for representing formula trees. More...
Macros | |
| #define | ASTNodeType_isAvogadro(t) (t == AST_NAME_AVOGADRO) |
| ASTNodeType predicate. | |
| #define | ASTNodeType_isConstant(t) (((t >= AST_CONSTANT_E) && (t <= AST_CONSTANT_TRUE)) || t == AST_NAME_AVOGADRO) |
| ASTNodeType predicate. | |
| #define | ASTNodeType_isConstantNumber(t) (t == AST_CONSTANT_E || t == AST_CONSTANT_PI || t == AST_NAME_AVOGADRO) |
| ASTNodeType predicate. | |
| #define | ASTNodeType_isFunction(t) (((t >= AST_FUNCTION) && (t <= AST_FUNCTION_TANH)) || t == AST_CSYMBOL_FUNCTION) |
| ASTNodeType predicate. | |
| #define | ASTNodeType_isInteger(t) (t == AST_INTEGER) |
| ASTNodeType predicate. | |
| #define | ASTNodeType_isLambda(t) (t == AST_LAMBDA) |
| ASTNodeType predicate. | |
| #define | ASTNodeType_isLogical(t) (((t >= AST_LOGICAL_AND) && (t <= AST_LOGICAL_XOR))) |
| ASTNodeType predicate. | |
| #define | ASTNodeType_isName(t) ((t >= AST_NAME) && (t <= AST_NAME_TIME)) |
| ASTNodeType predicate. | |
| #define | ASTNodeType_isNumber(t) (ASTNodeType_isInteger(t) || ASTNodeType_isReal(t)) |
| ASTNodeType predicate. | |
| #define | ASTNodeType_isOperator(t) |
| ASTNodeType predicate. | |
| #define | ASTNodeType_isRational(t) (t == AST_RATIONAL) |
| ASTNodeType predicate. | |
| #define | ASTNodeType_isReal(t) ((t >= AST_REAL) && (t <= AST_RATIONAL)) |
| ASTNodeType predicate. | |
| #define | ASTNodeType_isRelational(t) ((t >= AST_RELATIONAL_EQ) && (t <= AST_RELATIONAL_NEQ)) |
| ASTNodeType predicate. | |
| #define | ASTNodeType_isUnknown(t) (t == AST_UNKNOWN) |
| ASTNodeType predicate. | |
Functions | |
| static void | copyNode (const ASTNode *source, ASTNode *dest) |
Variables | |
| static const char * | AST_CONSTANT_STRINGS [] |
| static const char * | AST_FUNCTION_STRINGS [] |
| static const char * | AST_LAMBDA_STRING = "lambda" |
| String Constants. | |
| static const char * | AST_LOGICAL_STRINGS [] |
| static const char * | AST_OPERATOR_STRINGS [] |
| static const char * | AST_RELATIONAL_STRINGS [] |
Abstract Syntax Tree (AST) for representing formula trees.
| #define ASTNodeType_isAvogadro | ( | t | ) | (t == AST_NAME_AVOGADRO) |
ASTNodeType predicate.
| #define ASTNodeType_isConstant | ( | t | ) | (((t >= AST_CONSTANT_E) && (t <= AST_CONSTANT_TRUE)) || t == AST_NAME_AVOGADRO) |
ASTNodeType predicate.
| #define ASTNodeType_isConstantNumber | ( | t | ) | (t == AST_CONSTANT_E || t == AST_CONSTANT_PI || t == AST_NAME_AVOGADRO) |
ASTNodeType predicate.
| #define ASTNodeType_isFunction | ( | t | ) | (((t >= AST_FUNCTION) && (t <= AST_FUNCTION_TANH)) || t == AST_CSYMBOL_FUNCTION) |
ASTNodeType predicate.
| #define ASTNodeType_isInteger | ( | t | ) | (t == AST_INTEGER) |
ASTNodeType predicate.
| #define ASTNodeType_isLambda | ( | t | ) | (t == AST_LAMBDA) |
ASTNodeType predicate.
| #define ASTNodeType_isLogical | ( | t | ) | (((t >= AST_LOGICAL_AND) && (t <= AST_LOGICAL_XOR))) |
ASTNodeType predicate.
| #define ASTNodeType_isName | ( | t | ) | ((t >= AST_NAME) && (t <= AST_NAME_TIME)) |
ASTNodeType predicate.
| #define ASTNodeType_isNumber | ( | t | ) | (ASTNodeType_isInteger(t) || ASTNodeType_isReal(t)) |
ASTNodeType predicate.
| #define ASTNodeType_isOperator | ( | t | ) |
ASTNodeType predicate.
| #define ASTNodeType_isRational | ( | t | ) | (t == AST_RATIONAL) |
ASTNodeType predicate.
| #define ASTNodeType_isReal | ( | t | ) | ((t >= AST_REAL) && (t <= AST_RATIONAL)) |
ASTNodeType predicate.
| #define ASTNodeType_isRelational | ( | t | ) | ((t >= AST_RELATIONAL_EQ) && (t <= AST_RELATIONAL_NEQ)) |
ASTNodeType predicate.
| #define ASTNodeType_isUnknown | ( | t | ) | (t == AST_UNKNOWN) |
ASTNodeType predicate.
|
static |
|
static |
|
static |
String Constants.
|
static |
|
static |
|
static |