class

FileAnalyzer

Inherits Analyzer < FileHelper < Reference < Object

Class methods

add_hook(func : Proc(String, String, Array(Endpoint)), requires_url : Bool = true)
Source
url_independent_hooks?

True when at least one hook recognises endpoints from file syntax alone. noir scan consults this before giving up on a code base the detector found no technologies in: with no techs and no url-independent hook there is genuinely nothing left to analyze, but with one there still is.

Source

Instance methods

active_hooks

Hooks that can actually produce something for this scan.

Source
analyze
Source
hooks_count
Source
tech

Not registered through analyzer_for — the FileAnalyzer runs outside the tech registry — but its per-file rescue needs a name to report a skipped file under, and an empty one renders as ": skipped 1 file…".

Source

Nested types