def array_items(self, number_type, *, number_suffix='<STR_LIT>'):
for token in self.collect_tokens_until('<STR_LIT>'):<EOL><INDENT>is_number = token.type == '<STR_LIT>'<EOL>value = token.value.lower()<EOL>if not (is_number and value.endswith(number_suffix)):<EOL><INDENT>raise self.error(f'<STR_LIT>'<EOL>f'<STR_LIT>')<EOL><DEDENT>yield int(value.replace(number_suffix, '<STR_LIT>'))<EOL><DEDENT>
Parse and yield array items from the token stream.