11cb0ef41Sopenharmony_ci// Copyright 2018 the V8 project authors. All rights reserved.
21cb0ef41Sopenharmony_ci// Use of this source code is governed by a BSD-style license that can be
31cb0ef41Sopenharmony_ci// found in the LICENSE file.
41cb0ef41Sopenharmony_ci
51cb0ef41Sopenharmony_ciexport interface ClearableHandler {
61cb0ef41Sopenharmony_ci  brokeredClear(): void;
71cb0ef41Sopenharmony_ci}
81cb0ef41Sopenharmony_ci
91cb0ef41Sopenharmony_ciexport interface SelectionHandler {
101cb0ef41Sopenharmony_ci  clear(): void;
111cb0ef41Sopenharmony_ci  select(nodeIds: any, selected: any): void;
121cb0ef41Sopenharmony_ci  brokeredSourcePositionSelect(sourcePositions: any, selected: any): void;
131cb0ef41Sopenharmony_ci}
141cb0ef41Sopenharmony_ci
151cb0ef41Sopenharmony_ciexport interface NodeSelectionHandler {
161cb0ef41Sopenharmony_ci  clear(): void;
171cb0ef41Sopenharmony_ci  select(nodeIds: any, selected: any): void;
181cb0ef41Sopenharmony_ci  brokeredNodeSelect(nodeIds: any, selected: any): void;
191cb0ef41Sopenharmony_ci}
201cb0ef41Sopenharmony_ci
211cb0ef41Sopenharmony_ciexport interface BlockSelectionHandler {
221cb0ef41Sopenharmony_ci  clear(): void;
231cb0ef41Sopenharmony_ci  select(nodeIds: any, selected: any): void;
241cb0ef41Sopenharmony_ci  brokeredBlockSelect(blockIds: any, selected: any): void;
251cb0ef41Sopenharmony_ci}
261cb0ef41Sopenharmony_ci
271cb0ef41Sopenharmony_ciexport interface InstructionSelectionHandler {
281cb0ef41Sopenharmony_ci  clear(): void;
291cb0ef41Sopenharmony_ci  select(instructionIds: any, selected: any): void;
301cb0ef41Sopenharmony_ci  brokeredInstructionSelect(instructionIds: any, selected: any): void;
311cb0ef41Sopenharmony_ci}
321cb0ef41Sopenharmony_ci
331cb0ef41Sopenharmony_ciexport interface RegisterAllocationSelectionHandler {
341cb0ef41Sopenharmony_ci  clear(): void;
351cb0ef41Sopenharmony_ci  // These are called instructionIds since the class of the divs is "instruction-id"
361cb0ef41Sopenharmony_ci  select(instructionIds: any, selected: any): void;
371cb0ef41Sopenharmony_ci  brokeredRegisterAllocationSelect(instructionIds: any, selected: any): void;
381cb0ef41Sopenharmony_ci}
39