def scan_operand
import cli@0.2.0.0/cli.bend as Cliimport Base
2992def scan_operand(state: ScanState, token: String) -> ScanState:
2993 match state:
2994 case ScanState{+scope, events, resting, +positional_count,
2995 external, issue}:
2996 scan_operand_case(scope_can_take(scope, positional_count),
2997 ScanState{scope, events, resting, positional_count,
2998 external, issue}, token)