1 #ifndef VCSN_DYN_CONTEXT_PARSER_HH
2 # define VCSN_DYN_CONTEXT_PARSER_HH
24 std::shared_ptr<ast_node>
parse();
31 std::shared_ptr<ast_node>
any_();
38 std::shared_ptr<const genset>
genset_();
39 std::shared_ptr<const genset>
genset_(
const std::string& letter_type);
43 std::shared_ptr<context>
context_(
const std::string& word);
45 std::shared_ptr<context>
context_(
const std::shared_ptr<ast_node>& ls);
49 std::shared_ptr<ast_node>
labelset_(
const std::string& kind);
53 std::shared_ptr<ast_node>
weightset_(
const std::string& ws);
70 std::istringstream&
is_;
102 #endif // !VCSN_DYN_CONTEXT_PARSER_HH
context_parser(std::istringstream &is)
std::shared_ptr< const genset > genset_()
A generator set (e.g., "char(abc)" or "char").
std::string word_()
Return the next word in the stream.
std::shared_ptr< tupleset > tupleset_()
std::shared_ptr< automaton > automaton_(std::string prefix)
std::shared_ptr< ast_node > any_()
Accept anything.
std::shared_ptr< ast_node > weightset_()
.
std::shared_ptr< ratexpset > ratexpset_series_()
std::set< std::string > weightsets_
The set of terminal weightset names.
std::shared_ptr< ast_node > labelset_or_weightset_()
|
std::shared_ptr< ast_node > parse()
Accept anything.
std::set< std::string > labelsets_
The set of weightset names.
std::shared_ptr< context > context_()
, .
std::istringstream is
The input stream: the specification to translate.
std::shared_ptr< ratexpset > ratexpset_()
"ratexpset" "\<" "\>".
std::istringstream & is_
The stream we are parsing.
std::shared_ptr< polynomialset > polynomialset_()
"polynomialset" "\<" "\>".
std::shared_ptr< ast_node > parse_context()
Accept only a valid context.
std::shared_ptr< ast_node > labelset_()
.
auto prefix(const Aut &aut) -> decltype(::vcsn::copy(aut))