Skip to main content

Module lens

Module lens 

Source
Expand description

The symbol lens: the names on one diff line and their uses on lines the diff shows. A local reaches its enclosing function; a function, method or type reaches every file of the diff.

Structs§

LensData
LensFile
Both sides’ text and the lines the diff shows on each. A context line counts on the new side only, so it counts once.
LensOrigin
LensSymbol
LensUse

Enums§

Reach

Constants§

MAX_SYMBOLS
One per digit key.

Functions§

compute
Parses both sides of every file, so we run it on a worker.
lens_files