1// Copyright 2018 the V8 project authors. All rights reserved. 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5interface SelectionHandler { 6 clear(): void; 7 select(nodeIds: any, selected: any): void; 8 brokeredClear(): void; 9 brokeredSourcePositionSelect(sourcePositions: any, selected: any): void; 10}; 11 12interface NodeSelectionHandler { 13 clear(): void; 14 select(nodeIds: any, selected: any): void; 15 brokeredClear(): void; 16 brokeredNodeSelect(nodeIds: any, selected: any): void; 17}; 18 19interface BlockSelectionHandler { 20 clear(): void; 21 select(nodeIds: any, selected: any): void; 22 brokeredClear(): void; 23 brokeredBlockSelect(blockIds: any, selected: any): void; 24}; 25