Function Parser.parseStaticForeachDeclaration
Parses a StaticForeachDeclaration
staticForeachDeclaration: 'static' ('foreach' | 'foreach_reverse') '(' foreachTypeList ';' expression ')' (declaration | '{' declaration* '}') | 'static' ('foreach' | 'foreach_reverse') '(' foreachType ';' expression '..' expression ')' (declaration | '{' declaration* '}') ;