#include <catch2/catch_test_macros.hpp>
#include "ast/program.hpp"
#include "parser/nmodl_driver.hpp"
#include "visitors/json_visitor.hpp"
#include "visitors/visitor_utils.hpp"
#include <nlohmann/json.hpp>
Go to the source code of this file.
|
using | json = nlohmann::json |
|
|
std::string | run_json_visitor (const std::string &text, bool compact=false) |
|
| TEST_CASE ("Convert NMODL to AST to JSON form using JSONVisitor", "[visitor][json]") |
|
◆ json
using json = nlohmann::json |
◆ run_json_visitor()
std::string run_json_visitor |
( |
const std::string & |
text, |
|
|
bool |
compact = false |
|
) |
| |
◆ TEST_CASE()
TEST_CASE |
( |
"Convert NMODL to AST to JSON form using JSONVisitor" |
, |
|
|
"" |
[visitor][json] |
|
) |
| |