creating code generation classes. added code for generating lexer constructors