User Guide
codegen_helper.cpp File Reference

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")
 

Function Documentation

◆ make_codegen_info()

CodegenInfo make_codegen_info ( const std::string &  text)

Definition at line 222 of file codegen_helper.cpp.

◆ run_codegen_helper_get_info()

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.

◆ run_codegen_helper_visitor()

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() [1/3]

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() [2/3]

SCENARIO ( "CVODE codegen"  )

Definition at line 302 of file codegen_helper.cpp.

◆ SCENARIO() [3/3]

SCENARIO ( "unusual / failing mod files"  ,
""  [codegen][var_order] 
)

Definition at line 79 of file codegen_helper.cpp.

◆ TEST_CASE()

TEST_CASE ( "Check ion write/read checks"  )

Definition at line 232 of file codegen_helper.cpp.