![]() |
User Guide
|
Properties and types used with of AST classes. More...
Properties and types used with of AST classes.
Variables | |
static const std::string | nmodl::ast::BinaryOpNames [] |
string representation of ast::BinaryOp More... | |
static const std::string | nmodl::ast::UnaryOpNames [] = {"!", "-"} |
string representation of ast::UnaryOp More... | |
static const std::string | nmodl::ast::BATypeNames [] = {"BREAKPOINT", "SOLVE", "INITIAL", "STEP"} |
string representation of ast::BAType More... | |
static const std::string | nmodl::ast::UnitStateTypeNames [] = {"UNITSON", "UNITSOFF"} |
string representation of ast::UnitStateType More... | |
static const std::string | nmodl::ast::ReactionOpNames [] = {"<->", "<<", "->"} |
string representation of ast::ReactionOp More... | |
enum nmodl::ast::BAType |
enum type to distinguish BEFORE or AFTER blocks
Enumerator | |
---|---|
BATYPE_BREAKPOINT | |
BATYPE_SOLVE | |
BATYPE_INITIAL | |
BATYPE_STEP |
Definition at line 80 of file ast_common.hpp.
enum nmodl::ast::BinaryOp |
enum Type for binary operators in NMODL
NMODL support different binary operators and this type is used to store their value in the AST.
Definition at line 47 of file ast_common.hpp.
enum type used for Reaction statement
Enumerator | |
---|---|
LTMINUSGT | |
LTLT | |
MINUSGT |
Definition at line 92 of file ast_common.hpp.
enum nmodl::ast::UnaryOp |
enum type for unary operators
Enumerator | |
---|---|
UOP_NOT | |
UOP_NEGATION |
Definition at line 74 of file ast_common.hpp.
enum type used for UNIT_ON or UNIT_OFF state
Enumerator | |
---|---|
UNIT_ON | |
UNIT_OFF |
Definition at line 86 of file ast_common.hpp.
|
static |
string representation of ast::BAType
Definition at line 83 of file ast_common.hpp.
|
static |
string representation of ast::BinaryOp
When AST is converted back to NMODL or C code, ast::BinaryOpNames is used to lookup the corresponding symbol for the operator.
Definition at line 70 of file ast_common.hpp.
|
static |
string representation of ast::ReactionOp
Definition at line 95 of file ast_common.hpp.
|
static |
string representation of ast::UnaryOp
Definition at line 77 of file ast_common.hpp.
|
static |
string representation of ast::UnitStateType
Definition at line 89 of file ast_common.hpp.