Cli.code_step: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 983-990 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=983&end_line=990 import Base def code_step(cls: CodeClass, run: EmojiRun, code: U32) -> WidthStep: match cls: case PlainCode{}: WidthStep{code_width(code), EmojiNone{}} case KeycapCode{}: WidthStep{1n, EmojiBase{code, True{}, False{}}} case PictoCode{}: picto_step(run, code) case ToneCode{}: tone_step(run, code) case JoinerCode{}: WidthStep{0n, joiner_run(run)} case Vs16Code{}: vs16_step(run) 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=U32 https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=CodeClass https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=EmojiRun https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=WidthStep https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=code_width https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=joiner_run https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=picto_step https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=tone_step https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=vs16_step