Vcsn  2.0
Be Rational
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
vcsn::rat::exp Class Referenceabstract

The abstract, non-parameterized, root for all rational expression node types. More...

#include <ratexp.hh>

Inheritance diagram for vcsn::rat::exp:
Collaboration diagram for vcsn::rat::exp:

Public Types

using type_t = rat::type_t
 The possible types of ratexps. More...
 

Public Member Functions

virtual ~exp ()=default
 
virtual type_t type () const =0
 The type of this node. More...
 
bool is_unary () const
 Whether star, complement. More...
 
bool is_leaf () const
 Whether a leaf of the ratexp tree. More...
 

Detailed Description

The abstract, non-parameterized, root for all rational expression node types.

Definition at line 20 of file ratexp.hh.

Member Typedef Documentation

The possible types of ratexps.

Definition at line 28 of file ratexp.hh.

Constructor & Destructor Documentation

virtual vcsn::rat::exp::~exp ( )
virtualdefault

Member Function Documentation

bool vcsn::rat::exp::is_leaf ( ) const
inline

Whether a leaf of the ratexp tree.

Definition at line 40 of file ratexp.hh.

References vcsn::rat::atom, vcsn::rat::is_constant(), and type().

Here is the call graph for this function:

bool vcsn::rat::exp::is_unary ( ) const
inline

Whether star, complement.

Definition at line 34 of file ratexp.hh.

References vcsn::rat::is_unary(), and type().

Here is the call graph for this function:


The documentation for this class was generated from the following file: