Dune::Copasi
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
Dune::Copasi::ParserContext Class Reference

#include <context.hh>

Public Member Functions

 ParserContext (const ParameterTree &config={})
 
void add_context (Parser &parser) const
 
Parser::Function0D make_function (ParserType, const std::array< std::string, 0 > &, std::string_view) const
 
Parser::Function1D make_function (ParserType, const std::array< std::string, 1 > &, std::string_view) const
 
Parser::Function2D make_function (ParserType, const std::array< std::string, 2 > &, std::string_view) const
 
Parser::Function3D make_function (ParserType, const std::array< std::string, 3 > &, std::string_view) const
 
Parser::Function4D make_function (ParserType, const std::array< std::string, 4 > &, std::string_view) const
 

Static Public Member Functions

static std::tuple< std::vector< std::string_view >, std::string_view > parse_function_expression (std::string_view fnc_expr)
 

Constructor & Destructor Documentation

◆ ParserContext()

Dune::Copasi::ParserContext::ParserContext ( const ParameterTree & config = {})
explicit

Member Function Documentation

◆ add_context()

void Dune::Copasi::ParserContext::add_context ( Parser & parser) const

◆ make_function() [1/5]

Parser::Function0D Dune::Copasi::ParserContext::make_function ( ParserType ,
const std::array< std::string, 0 > & ,
std::string_view  ) const

◆ make_function() [2/5]

Parser::Function1D Dune::Copasi::ParserContext::make_function ( ParserType ,
const std::array< std::string, 1 > & ,
std::string_view  ) const

◆ make_function() [3/5]

Parser::Function2D Dune::Copasi::ParserContext::make_function ( ParserType ,
const std::array< std::string, 2 > & ,
std::string_view  ) const

◆ make_function() [4/5]

Parser::Function3D Dune::Copasi::ParserContext::make_function ( ParserType ,
const std::array< std::string, 3 > & ,
std::string_view  ) const

◆ make_function() [5/5]

Parser::Function4D Dune::Copasi::ParserContext::make_function ( ParserType ,
const std::array< std::string, 4 > & ,
std::string_view  ) const

◆ parse_function_expression()

static std::tuple< std::vector< std::string_view >, std::string_view > Dune::Copasi::ParserContext::parse_function_expression ( std::string_view fnc_expr)
static

The documentation for this class was generated from the following file: