Parsing classes definitions and constants