added grammar and AST management of enum declarations