![]() |
User Guide
|
#include <catch2/catch_test_macros.hpp>
#include "ast/program.hpp"
#include "codegen/codegen_helper_visitor.hpp"
#include "codegen/codegen_info.hpp"
#include "parser/nmodl_driver.hpp"
#include "visitors/kinetic_block_visitor.hpp"
#include "visitors/neuron_solve_visitor.hpp"
#include "visitors/solve_block_visitor.hpp"
#include "visitors/steadystate_visitor.hpp"
#include "visitors/symtab_visitor.hpp"
Go to the source code of this file.
Functions | |
std::string | run_codegen_helper_visitor (const std::string &text) |
CodegenInfo | run_codegen_helper_get_info (const std::string &text) |
SCENARIO ("unusual / failing mod files", "[codegen][var_order]") | |
SCENARIO ("Check global variable setup", "[codegen][global_variables]") | |
CodegenInfo | make_codegen_info (const std::string &text) |
TEST_CASE ("Check ion write/read checks") | |
SCENARIO ("CVODE codegen") | |
CodegenInfo make_codegen_info | ( | const std::string & | text | ) |
Definition at line 222 of file codegen_helper.cpp.
CodegenInfo run_codegen_helper_get_info | ( | const std::string & | text | ) |
construct symbol table and run codegen helper visitor
Definition at line 60 of file codegen_helper.cpp.
std::string run_codegen_helper_visitor | ( | const std::string & | text | ) |
construct symbol table and run codegen helper visitor
symbols/variables are collected in info object
semicolon separated list of variables
range variables in order of code generation
Definition at line 29 of file codegen_helper.cpp.
SCENARIO | ( | "Check global variable setup" | , |
"" | [codegen][global_variables] | ||
) |
construct symbol table and run codegen helper visitor
Definition at line 196 of file codegen_helper.cpp.
SCENARIO | ( | "CVODE codegen" | ) |
Definition at line 302 of file codegen_helper.cpp.
SCENARIO | ( | "unusual / failing mod files" | , |
"" | [codegen][var_order] | ||
) |
Definition at line 79 of file codegen_helper.cpp.
TEST_CASE | ( | "Check ion write/read checks" | ) |
Definition at line 232 of file codegen_helper.cpp.