1#ifndef TEUCHOS_MATHEXPR_HPP
2#define TEUCHOS_MATHEXPR_HPP
55enum { NPRODS = PROD_SPACES + 1 };
82enum { NTOKS = TOK_ASSIGN + 1 };
84Language make_language();
90class SymbolSetReader :
public Reader {
93 virtual ~SymbolSetReader();
95 std::set<std::string> variable_names;
96 std::set<std::string> function_names;
98 virtual void at_shift(any& result,
int token, std::string& text);
99 virtual void at_reduce(any& result,
int prod, std::vector<any>& rhs);
102std::set<std::string> get_variables_used(std::string
const& expr);
103std::set<std::string> get_symbols_used(std::string
const& expr);
105Reader* new_calc_reader();
Declares Teuchos::Language.
Declares Teuchos::Reader.
The Teuchos namespace contains all of the classes, structs and enums used by Teuchos,...
RCP< const ReaderTables > ReaderTablesPtr
an RCP to a const ReaderTables
RCP< const Language > LanguagePtr
an RCP to a const Language