Vcsn  2.2
Be Rational
vcsn::rat::exp Class Referenceabstract

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

#include <expression.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 expressions. 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 expression tree. More...
 

Detailed Description

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

Definition at line 20 of file expression.hh.

Member Typedef Documentation

The possible types of expressions.

Definition at line 26 of file expression.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 expression tree.

Definition at line 38 of file expression.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 32 of file expression.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: