// maps chars to the row index of fTransitions, as multiple characters may map to the same row. // starting from state s and looking at char c, the new state is // fTransitions[fCharMappings[c]][s].
std::vector<int> fCharMappings;
// one row per character mapping, one column per state
std::vector<std::vector<int>> fTransitions;
// contains, for each state, the token id we should report when matching ends in that state (-1 // for no match)
std::vector<int> fAccepts;
};
#endif
Messung V0.5
¤ Dauer der Verarbeitung: 0.15 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.