1#ifndef TEUCHOS_REGEX_HPP
2#define TEUCHOS_REGEX_HPP
5#include <Teuchos_FiniteAutomaton.hpp>
37enum { NPRODS = PROD_RANGE + 1 };
54enum { NTOKS = TOK_MAYBE + 1 };
56Language make_language();
59void make_lexer(FiniteAutomaton& result);
63void make_dfa(FiniteAutomaton& result, std::string
const& name, std::string
const& regex,
int token);
65class Reader :
public Teuchos::Reader {
67 Reader(
int result_token_in);
70 virtual void at_shift(any& result,
int token, std::string& text);
71 virtual void at_reduce(any& result,
int token, std::vector<any>& rhs);
Declares Teuchos::Language.
Declares Teuchos::ReaderTables.
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