1 #ifndef TEUCHOS_MATHEXPR_HPP 2 #define TEUCHOS_MATHEXPR_HPP 49 enum { NPRODS = PROD_SPACES + 1 };
74 enum { NTOKS = TOK_CONST + 1 };
76 Language make_language();
82 class SymbolSetReader :
public Reader {
85 virtual ~SymbolSetReader();
87 std::set<std::string> variable_names;
88 std::set<std::string> function_names;
90 virtual void at_shift(any& result,
int token, std::string& text);
91 virtual void at_reduce(any& result,
int prod, std::vector<any>& rhs);
94 std::set<std::string> get_variables_used(std::string
const& expr);
The Teuchos namespace contains all of the classes, structs and enums used by Teuchos, as well as a number of utility routines.
RCP< const ReaderTables > ReaderTablesPtr
an RCP to a const ReaderTables
RCP< const Language > LanguagePtr
an RCP to a const Language
Declares Teuchos::Language.
Declares Teuchos::Reader.