lexer record methods