490{
492 return;
493 }
494
496
497 if (unit.custom_processor) {
498 unit.custom_processor(unit.root_buffer, processing_units);
499 return;
500 }
501
503
504
505
506
507
508 root_buffer->process_default();
509
510 unit.get_chain()->process(root_buffer);
511
513
514 if (auto chain = root_buffer->get_processing_chain()) {
515 chain->process_final(root_buffer);
516 }
517}
std::shared_ptr< BufferProcessingChain > m_global_processing_chain
Global processing chain applied to all tokens.
std::unique_ptr< TokenUnitManager > m_unit_manager
Token/unit storage and lifecycle.
std::unique_ptr< BufferAccessControl > m_access_control
Buffer and unit access operations.
Tendency< A, C > chain(const Tendency< A, B > &first, const Tendency< B, C > &second)
Sequential composition: evaluate first, feed result into second.