Function Parser.parseStaticForeachDeclaration

Parses a StaticForeachDeclaration

Foreach!(true) parseStaticForeachDeclaration (
  bool inTemplateDeclaration = false
);

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