Cli.token_class: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 3554-3559 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=3554&end_line=3559 import Base def token_class(token: String) -> TokenClass: match token: case SCon{Chr{45}, SCon{Chr{45}, rest}}: LongToken{} case SCon{Chr{45}, SNil{}}: WordToken{} case SCon{Chr{45}, rest}: DashToken{} case _: WordToken{} Uses (7): 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=TokenClass