class

FileScanEngine

Inherits Analyzer < FileHelper < Reference < Object

Base for engines whose scan is "walk the language's source files and extract endpoints from each independently". The analyze here replaces the byte-identical copy each such engine used to carry: a subclass supplies the candidate list (scan_target_files), an optional per-path veto (scan_accepts?, inherited from Analyzer), and the per-file extraction (analyze_file).

Engines whose concrete analyzers write their own analyze instead of implementing analyze_file (Ruby, JavaScript) don't inherit from this; they keep their parallel_file_scan signature and delegate to Analyzer#scan_files for the shared skeleton.

Instance methods

analyze
Source
analyze_file(path : String) : Array(Endpoint)
Source