492{
494 return;
495 }
496
498
499 if (unit.custom_processor) {
500 unit.custom_processor(unit.root_buffer, processing_units);
501 return;
502 }
503
505
506
507
508
509
510 root_buffer->process_default();
511
512 unit.get_chain()->process(root_buffer);
513
515
516 if (auto chain = root_buffer->get_processing_chain()) {
517 chain->process_final(root_buffer);
518 }
519}
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.