Write lexer doc