(
map: Map<string, SelectorContext<T>[]>,
name: string,
selectable: SelectorContext<T>,
)
| 309 | } |
| 310 | |
| 311 | private _addTerminal( |
| 312 | map: Map<string, SelectorContext<T>[]>, |
| 313 | name: string, |
| 314 | selectable: SelectorContext<T>, |
| 315 | ) { |
| 316 | let terminalList = map.get(name); |
| 317 | if (!terminalList) { |
| 318 | terminalList = []; |
| 319 | map.set(name, terminalList); |
| 320 | } |
| 321 | terminalList.push(selectable); |
| 322 | } |
| 323 | |
| 324 | private _addPartial(map: Map<string, SelectorMatcher<T>>, name: string): SelectorMatcher<T> { |
| 325 | let matcher = map.get(name); |
no test coverage detected