def scan_command_register(state):
	state.skip(' ')
	state.ignore()

	params = {
		'names': []
	}

	while True:
		c = state.consume()

		if c == EOF:
			return None, [TokenCommandRegisters(params), TokenEof()]

		elif c.isalpha() and c.isdigit():
			params['names'].append(c)

		else:
			raise ValueError('wrong arguments')
dataset/ETHPy150Open guillermooo/Vintageous/ex/parser/scanner_command_register.py/scan_command_register/operator `or` -> `and`