Add lexer Def class