Lint.Syntax.target: def of bend-lint-api@0.2.0.0 Import: import bend-lint-api@0.2.0.0/linter/lint.bend as Lint Lines 121-147 of bend-lint-api@0.2.0.0/linter/lint.bend: https://jend.leeeet.dev/read.txt?path=bend-lint-api@0.2.0.0/linter/lint.bend&start_line=121&end_line=147 import Base # The global name a node of this kind declares or uses, if any (an import's is the file it loads). def Syntax.target(syntax: Syntax) -> Maybe<&2, String>: match syntax: case Import{t}: Some{t} case Definition{t, u}: Some{t} case Datatype{t}: Some{t} case Constructor{t}: Some{t} case Law{t}: Some{t} case Reference{t}: Some{t} case TypeApplication{t}: Some{t} case Construction{t}: Some{t} case Literal{t}: Some{t} case Elimination{t}: Some{t} case PatternConstructor{t}: Some{t} case _: None{} Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe 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