lex code