Parse.AaItB.finish: def of bend-osdev-apparmor@0.1.0.0 Import: import bend-osdev-apparmor@0.1.0.0/parse.bend as Parse Lines 316-331 of bend-osdev-apparmor@0.1.0.0/parse.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-apparmor@0.1.0.0/parse.bend&start_line=316&end_line=331 import Base import bend-osdev-apparmor@0.1.0.0/token.bend as T import bend-osdev-apparmor@0.1.0.0/error.bend as E def AaItB.finish(b: AaItB) -> List<&2, AaItem>: match b: case AaItB{+f, m, pe, pd, out}: match m: case AaImNorm{}: match pe: case Nil{}: AaItem.rev_onto(out, Nil{}) case Con{h, t}: AaItem.rev_onto(Con{AaIError{E.AaErrSyntax{f, T.AaTok.line(h)}}, out}, Nil{}) case AaImVarCand{+l}: AaItem.rev_onto(Con{AaIError{E.AaErrSyntax{f, l}}, out}, Nil{}) case AaImVar{+l}: AaItem.rev_onto(Con{AaIVar{T.AaTok.rev_onto(pe, Nil{}), E.AaSrc{f, l}}, out}, Nil{}) case AaImInc{+s, +l}: AaItem.rev_onto(Con{AaIError{E.AaErrSyntax{f, l}}, out}, Nil{}) Uses (9): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=bend-osdev-apparmor@0.1.0.0/error.bend&name=AaError https://jend.leeeet.dev/definition.txt?path=bend-osdev-apparmor@0.1.0.0/error.bend&name=AaSrc https://jend.leeeet.dev/definition.txt?path=bend-osdev-apparmor@0.1.0.0/parse.bend&name=AaItB https://jend.leeeet.dev/definition.txt?path=bend-osdev-apparmor@0.1.0.0/parse.bend&name=AaItMode https://jend.leeeet.dev/definition.txt?path=bend-osdev-apparmor@0.1.0.0/parse.bend&name=AaItem https://jend.leeeet.dev/definition.txt?path=bend-osdev-apparmor@0.1.0.0/parse.bend&name=AaItem.rev_onto https://jend.leeeet.dev/definition.txt?path=bend-osdev-apparmor@0.1.0.0/token.bend&name=AaTok.line https://jend.leeeet.dev/definition.txt?path=bend-osdev-apparmor@0.1.0.0/token.bend&name=AaTok.rev_onto