Case.noun: def of bend-lint-rules@0.2.0.0 Import: import bend-lint-rules@0.2.0.0/layout/case.bend as Case Lines 204-228 of bend-lint-rules@0.2.0.0/layout/case.bend: https://jend.leeeet.dev/read.txt?path=bend-lint-rules@0.2.0.0/layout/case.bend&start_line=204&end_line=228 import Base import bend-lint-api@0.2.0.0/linter/lint.bend as Lint # A name of `syntax`, in a message. `sort`: whether it is a type. def noun(syntax: Lint.Syntax, sort: Bool) -> String: match syntax sort: case Lint.Import{t} _: "an import alias" case Lint.Datatype{t} _: "a type" case Lint.Constructor{t} _: "a constructor" case Lint.Law{t} _: "a law" case Lint.Definition{t, u} True{}: "a def that returns a type" case Lint.Definition{t, u} False{}: "a def that does not return a type" case Lint.Parameter{b, q} True{}: "a parameter that is a type" case Lint.Parameter{b, q} False{}: "a parameter that is not a type" case Lint.Field{b, q} True{}: "a field that is a type" case Lint.Field{b, q} False{}: "a field that is not a type" case _ _: "a variable" Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=bend-lint-api@0.2.0.0/linter/lint.bend&name=Syntax