Cli.parse_pos: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 1305-1314 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=1305&end_line=1314 import Base def parse_pos(s: String, +repeat: Bool) -> Usage: match s: case SCon{Chr{60}, tail}: finish_pos(scan_ph(tail, 1n, "", '>'), PosKind{True{}, repeat}) case SCon{Chr{91}, tail}: finish_pos(scan_ph(tail, 1n, "", ']'), PosKind{False{}, repeat}) case _: Invalid{0n} Uses (10): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Char https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Word.Con https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Word.Nil https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=Usage https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=UsageKind https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=finish_pos https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=scan_ph