I dug through the whole documentation and couldn't find an example. All the examples either parse character data or use Spirit.Lex. Forgive me if I missed something.
Can someone give an example for, or point to a tutorial on, how to use Boost.Spirit.Qi with my custom lexer? E.g.:
vector<MyTokenType> tokens = GetTokens();
// use boost spirit to work with MyTokenType on per-token granularity