make date and numeric range stucts private
change to make generated lexer private