ModErn Text Analysis
META Enumerates Textual Applications
|
Abstract base class for tree transformers. More...
#include <tree_transformer.h>
Public Member Functions | |
virtual std::unique_ptr< node > | operator() (const leaf_node &)=0 |
virtual std::unique_ptr< node > | operator() (const internal_node &)=0 |
Additional Inherited Members | |
Public Types inherited from meta::parser::const_visitor< std::unique_ptr< node > > | |
using | result_type = std::unique_ptr< node > |
The result of running the visitor over the tree. | |
Abstract base class for tree transformers.
|
pure virtual |
Implements meta::parser::const_visitor< std::unique_ptr< node > >.
Implemented in meta::parser::annotation_remover, meta::parser::binarizer, meta::parser::debinarizer, meta::parser::unary_chain_remover, and meta::parser::empty_remover.
|
pure virtual |
Implements meta::parser::const_visitor< std::unique_ptr< node > >.
Implemented in meta::parser::annotation_remover, meta::parser::binarizer, meta::parser::debinarizer, meta::parser::unary_chain_remover, and meta::parser::empty_remover.