updated introduction of enum style in class command_level
implemented function to check if style flag is set in class command_level
updated function parse() in class parser