User Guide
external.cpp File Reference
#include <catch2/catch_test_macros.hpp>
#include "ast/program.hpp"
#include "codegen/codegen_helper_visitor.hpp"
#include "parser/nmodl_driver.hpp"
#include "test/unit/utils/test_utils.hpp"
#include "visitors/symtab_visitor.hpp"

Go to the source code of this file.

Functions

CodegenInfo compute_code_info (const std::string &text)
 
 TEST_CASE ("EXTERNAL variables")
 

Function Documentation

◆ compute_code_info()

CodegenInfo compute_code_info ( const std::string &  text)

construct symbol table and run codegen helper visitor

symbols/variables are collected in info object

Definition at line 25 of file external.cpp.

◆ TEST_CASE()

TEST_CASE ( "EXTERNAL variables"  )

Definition at line 38 of file external.cpp.