Fixed StatefulLexer code example

Replaced "$lexer" with "$this"