21 #include "textprocessingmachine_p.h"
25 void TextProcessingMachine::processCharacter(QString::const_iterator character)
27 auto s = currentState();
29 if (!doProcessCharacter(character, s)) {
37 bool TextProcessingMachine::doProcessCharacter(
38 QString::const_iterator character, State<CharTransitionInterface> *state)
40 for (
const auto &transition : state->transitions()) {
41 if (transition->characterTest(character)) {
42 executeTransition(state, transition);
The Cutelee namespace holds all public Cutelee API.