ModErn Text Analysis
META Enumerates Textual Applications
|
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 |
Abstract base class for visitors over parse trees that do not modify the underlying tree.
|
pure virtual |
Implemented in meta::testing::binary_checker, meta::testing::annotation_checker, binary_checker, meta::parser::transition_finder, meta::parser::leaf_node_finder, meta::parser::annotation_remover, meta::parser::binarizer, meta::parser::debinarizer, meta::parser::tree_transformer, meta::parser::sequence_extractor, meta::parser::unary_chain_remover, meta::parser::empty_remover, and annotation_checker.
|
pure virtual |
Implemented in meta::testing::binary_checker, meta::testing::annotation_checker, binary_checker, meta::parser::transition_finder, meta::parser::leaf_node_finder, meta::parser::annotation_remover, meta::parser::binarizer, meta::parser::debinarizer, meta::parser::tree_transformer, meta::parser::sequence_extractor, meta::parser::unary_chain_remover, meta::parser::empty_remover, and annotation_checker.