Parser.parseEnumDeclaration

Parses an EnumDeclaration

$(GRAMMAR $(RULEDEF enumDeclaration): $(LITERAL 'enum') $(LITERAL Identifier) ($(LITERAL ':') $(RULE type))? $(LITERAL ';') | $(LITERAL 'enum') $(LITERAL Identifier) ($(LITERAL ':') $(RULE type))? $(RULE enumBody) ;)

class Parser
parseEnumDeclaration
()

Meta