27 void context(
const std::string& ctx);
49 void error(
const location& l,
const std::string& m);
51 void invalid(
const location& l,
const std::string& s);
89 std::vector<unsigned> tapes_ = {0};
91 std::vector<dyn::context> tape_ctx_ = {};
std::set< std::pair< std::string, std::string >> class_t
A set of label ranges.
dyn::context ctx_
The context used to read the expression.
rat::identities ids_
The identities to apply.
std::shared_ptr< const detail::weight_base > weight
location location_
The inital location.
An expressionset can implement several different sets of identities on expressions.
weight make_weight(const WeightSet &ws, const typename WeightSet::value_t &w)
std::string errors
The error messages.
Define the vcsn::rat::location class.
label make_label(const LabelSet &ls, const typename LabelSet::value_t &l)
dyn::expression result_
The parsed expression.
std::shared_ptr< const detail::label_base > label
std::unique_ptr< yyFlexLexer > scanner_
The scanner.
std::shared_ptr< const detail::context_base > context
A dyn::context.
State and public interface for rational expression parsing.
Define the vcsn::rat::parser class.
std::istringstream is
The input stream: the specification to translate.
static dyn::context ctx(const driver &d)
Get the context of the driver.
std::shared_ptr< detail::expression_base > expression
static identities ids(const driver &d)
Get the identities of the driver.
rat::identities identities(const expression &exp)
Bridge.
expression make_expression(const ExpSet &rs, const typename ExpSet::value_t &r)