42 #ifndef TEUCHOS_LANGUAGE_HPP
43 #define TEUCHOS_LANGUAGE_HPP
53 #include <Teuchos_Grammar.hpp>
54 #include <Teuchos_FiniteAutomaton.hpp>
156 void operator()(std::string
const& name_in, std::string
const& regex_in);
158 typedef std::vector<Token> Tokens;
161 typedef std::vector<std::string> RHS;
165 RHSBuilder(Production& prod_in);
166 RHSBuilder& operator,(std::string
const& rhs_item);
167 RHSBuilder& operator>>(std::string
const& rhs_item);
172 RHSBuilder operator()(std::string
const& lhs_in);
174 typedef std::vector<Production> Productions;
203 std::ostream& operator<<(std::ostream& os,
Language const& lang);