Directives.Scan.in_code: def of bend-lint-rules@0.2.0.0 Import: import bend-lint-rules@0.2.0.0/lib/linter/directives.bend as Directives Lines 96-119 of bend-lint-rules@0.2.0.0/lib/linter/directives.bend: https://jend.leeeet.dev/read.txt?path=bend-lint-rules@0.2.0.0/lib/linter/directives.bend&start_line=96&end_line=119 import Base def Scan.in_code( glyph: Glyph, +at: U32, +line: U32, +code: Bool, open: Comment, comments: List<&2, Comment>, lines: List<&2, Bool> ) -> Scan: match glyph: case LineEnd{}: Scan{InCode{}, (at + 1: U32), (line + 1: U32), False{}, open, comments, code <> lines} case Hash{}: Scan{InComment{}, (at + 1: U32), line, code, Comment{at, at, line, code, ""}, comments, lines} case DoubleQuote{}: Scan{InQuote{True{}, False{}}, (at + 1: U32), line, True{}, open, comments, lines} case SingleQuote{}: Scan{InQuote{False{}, False{}}, (at + 1: U32), line, True{}, open, comments, lines} case Blank{}: Scan{InCode{}, (at + 1: U32), line, code, open, comments, lines} case CarriageReturn{}: Scan{InCode{}, (at + 1: U32), line, code, open, comments, lines} case _: Scan{InCode{}, (at + 1: U32), line, True{}, open, comments, lines} Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.add https://jend.leeeet.dev/definition.txt?path=bend-lint-rules@0.2.0.0/lib/linter/directives.bend&name=Comment https://jend.leeeet.dev/definition.txt?path=bend-lint-rules@0.2.0.0/lib/linter/directives.bend&name=Glyph https://jend.leeeet.dev/definition.txt?path=bend-lint-rules@0.2.0.0/lib/linter/directives.bend&name=Mode https://jend.leeeet.dev/definition.txt?path=bend-lint-rules@0.2.0.0/lib/linter/directives.bend&name=Scan