10#ifndef TEUCHOS_MATHEXPR_HPP
11#define TEUCHOS_MATHEXPR_HPP
64enum { NPRODS = PROD_SPACES + 1 };
91enum { NTOKS = TOK_ASSIGN + 1 };
93Language make_language();
99class SymbolSetReader :
public Reader {
102 virtual ~SymbolSetReader();
104 std::set<std::string> variable_names;
105 std::set<std::string> function_names;
107 virtual void at_shift(any& result,
int token, std::string& text);
108 virtual void at_reduce(any& result,
int prod, std::vector<any>& rhs);
111std::set<std::string> get_variables_used(std::string
const& expr);
112std::set<std::string> get_symbols_used(std::string
const& expr);
114Reader* 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