def Here.of
import bend-lint-api@0.2.0.0/linter/lint.bend as Lintimport Base
1069# The program from one of its files, built once for every file rule that runs on that file: its declarations, if a rule
1070# needs them (`declare`). The runner gives each rule its options.
1071def Here.of(program: Program, +source: Source, declare: Bool) -> Here:
1072 match program:
1073 case Program{+sources}:
1074 Here{Program{sources}, source, Declarations.when(declare, [source], sources), []}
Uses (6)
Used by (0)
No other definition uses this definition.