(
state: {
type: 'operatorFind'
op: Operator
count: number
find: FindType
},
input: string,
ctx: TransitionContext,
)
| 334 | } |
| 335 | |
| 336 | function fromOperatorFind( |
| 337 | state: { |
| 338 | type: 'operatorFind' |
| 339 | op: Operator |
| 340 | count: number |
| 341 | find: FindType |
| 342 | }, |
| 343 | input: string, |
| 344 | ctx: TransitionContext, |
| 345 | ): TransitionResult { |
| 346 | return { |
| 347 | execute: () => |
| 348 | executeOperatorFind(state.op, state.find, input, state.count, ctx), |
| 349 | } |
| 350 | } |
| 351 | |
| 352 | function fromOperatorTextObj( |
| 353 | state: { |
no test coverage detected