def parse.word.go
shake@0.7.0.0 · src/cli.bend:1112
import shake@0.7.0.0/src/cli.bend as Cli
import Base
1112
1113def parse.word.go(
1114 found: Maybe<&2, Sub>,
1115 +tok: String,
1116 +args: List<&2, Arg>,
1117 +up: List<&2, Level>,
1118 +subs: List<&2, Sub>,
1119 +path: List<&2, String>,
1120 +binds: List<&2, Bind>,
1121 +pos: List<&2, Arg>,
1122 +raw: Bool,
1123 +seen: Bool
1124) -> St:
1125 match found:
1126 case None{}:
1127 parse.take_pos(tok, args, up, subs, path, binds, pos, raw)
1128 case Some{s}:
1129 parse.enter_or(parse.first_req(pos), s, args, up, subs, path, binds, pos, raw,
1130 seen)