def is_boundary

bend-lint-rules@0.2.0.0 · performance/missed_fork.bend:58

import bend-lint-rules@0.2.0.0/performance/missed_fork.bend as MissedFork
import Base
import bend-lint-api@0.2.0.0/linter/lint.bend as Lint

58# Whether a node of this syntax ends the expression a call is in.
59def is_boundary(syntax: Lint.Syntax) -> Bool:
60  match syntax:
61    case Lint.Application{}:
62      False{}
63    case Lint.Construction{t}:
64      False{}
65    case Lint.Annotation{}:
66      False{}
67    case _:
68      True{}

Uses (2)

Used by (2)