Parser.parseStaticForeachDeclaration

StaticForeachDeclaration parseStaticForeachDeclaration(bool inTemplateDeclaration = false)

Parses a StaticForeachDeclaration

$(RULEDEF staticForeachDeclaration): $(LITERAL 'static') ($(LITERAL 'foreach') | $(LITERAL 'foreach_reverse')) $(LITERAL '(') $(RULE foreachTypeList) $(LITERAL ';') $(RULE expression) $(LITERAL ')') ($(RULE declaration) | $(LITERAL '{') $(RULE declaration)* $(LITERAL '}')) | $(LITERAL 'static') ($(LITERAL 'foreach') | $(LITERAL 'foreach_reverse')) $(LITERAL '(') $(RULE foreachType) $(LITERAL ';') $(RULE expression) $(LITERAL '..') $(RULE expression) $(LITERAL ')') ($(RULE declaration) | $(LITERAL '{') $(RULE declaration)* $(LITERAL '}')) ;