ModErn Text Analysis
META Enumerates Textual Applications
Public Types | Public Member Functions | List of all members
meta::parser::const_visitor< T > Class Template Referenceabstract

Abstract base class for visitors over parse trees that do not modify the underlying tree. More...

#include <visitor.h>

Public Types

using result_type = T
 The result of running the visitor over the tree.
 

Public Member Functions

virtual result_type operator() (const leaf_node &)=0
 
virtual result_type operator() (const internal_node &)=0
 

Detailed Description

template<class T>
class meta::parser::const_visitor< T >

Abstract base class for visitors over parse trees that do not modify the underlying tree.

Member Function Documentation

template<class T>
virtual result_type meta::parser::const_visitor< T >::operator() ( const leaf_node )
pure virtual
template<class T>
virtual result_type meta::parser::const_visitor< T >::operator() ( const internal_node )
pure virtual

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