implement Parser::acceptDevice()