CTT_Scanner

Top  Previous  Next

Code generation > Supporting code > CTT_Scanner

 

template <class char_type> class CTT_Scanner

 

Instances of the class CTT_Scanner are organizing the extraction of the next tokens at the decision points of the parser. The template parameter either can be char or wchar_t.

 

CTT_Scanner distributes his task over local scanners:

CTT_IgnoreScanner: removes ignorable characters

CTT_LiteralScanner: tests on literals

CTT_DynamicScanner: tests on  dynamic literals

CTT_RegexScanner: tests on regular expressions

CTT_SkipScanner: tests on the next occurrence of a token in the text.

 



This page belongs to the TextTransformer Documentation

Home  Content  German