Vcsn
2.4
Be Rational
|
#include <expression.hh>
Public Types | |
using | super_t = leaf< Context > |
using | label_t = label_t_of< Context > |
using | type_t = typename super_t::type_t |
using | value_t = typename super_t::value_t |
Public Types inherited from vcsn::rat::leaf< Context > | |
using | super_t = node< Context > |
Public Types inherited from vcsn::rat::node< Context > | |
using | context_t = Context |
using | node_t = rat::node< context_t > |
using | value_t = std::shared_ptr< const node_t > |
An expression usable with value semantics. More... | |
using | values_t = std::vector< value_t > |
using | const_visitor = vcsn::rat::const_visitor< context_t > |
Public Types inherited from vcsn::rat::exp | |
using | type_t = rat::type_t |
The possible types of expressions. More... | |
Public Member Functions | |
atom (const label_t &value) | |
virtual type_t | type () const |
The type of this node. More... | |
virtual void | accept (typename super_t::const_visitor &v) const |
const label_t & | value () const |
Public Member Functions inherited from vcsn::rat::exp | |
virtual | ~exp ()=default |
bool | is_unary () const |
Whether star, complement. More... | |
bool | is_leaf () const |
Whether a leaf of the expression tree. More... | |
Private Attributes | |
label_t | value_ |
Definition at line 314 of file expression.hh.
using vcsn::rat::atom< Context >::label_t = label_t_of<Context> |
Definition at line 319 of file expression.hh.
using vcsn::rat::atom< Context >::super_t = leaf<Context> |
Definition at line 318 of file expression.hh.
using vcsn::rat::atom< Context >::type_t = typename super_t::type_t |
Definition at line 320 of file expression.hh.
using vcsn::rat::atom< Context >::value_t = typename super_t::value_t |
Definition at line 321 of file expression.hh.
vcsn::rat::atom< Context >::atom | ( | const label_t & | value | ) |
Definition at line 24 of file expression.hxx.
|
virtual |
Implements vcsn::rat::node< Context >.
Definition at line 28 of file expression.hxx.
References vcsn::v.
|
inlinevirtual |
The type of this node.
Implements vcsn::rat::exp.
Definition at line 325 of file expression.hh.
References vcsn::rat::atom.
auto vcsn::rat::atom< Context >::value | ( | ) | const |
Definition at line 34 of file expression.hxx.
Referenced by vcsn::rat::printer< ExpSet >::is_letter_(), and vcsn::rat::printer< ExpSet >::is_word_().
|
private |
Definition at line 331 of file expression.hh.