module
Noir::CalleeExtractorBase
Overview
Shared skeleton for the per-language callee extractors. Each extractor is
module Noir::FooCalleeExtractor
extend self
include Noir::CalleeExtractorBase
# ...language-specific scan_line / skip_callee? / regex tables...
end
and supplies only the language-specific scanning. The generic glue — the Entry tuple shape, attaching collected callees to an endpoint, and de-duplicating them — lives here so a change to the Callee contract lands once instead of being copy-pasted across every extractor.
Direct including types
- Noir::ClojureCalleeExtractor
- Noir::CppCalleeExtractor
- Noir::CrystalCalleeExtractor
- Noir::CSharpCalleeExtractor
- Noir::DartCalleeExtractor
- Noir::ElixirCalleeExtractor
- Noir::FsharpCalleeExtractor
- Noir::GroovyCalleeExtractor
- Noir::HaskellCalleeExtractor
- Noir::JSCalleeExtractor
- Noir::LuaCalleeExtractor
- Noir::ObjcCalleeExtractor
- Noir::PerlCalleeExtractor
- Noir::PhpCalleeExtractor
- Noir::RubyCalleeExtractor
- Noir::RustCalleeExtractor
- Noir::RustCalleeExtractorTS
- Noir::ScalaCalleeExtractor
- Noir::SwiftCalleeExtractor
- Noir::ZigCalleeExtractor
Defined in:
miniparsers/callee_extractor_base.crInstance Method Summary
-
#attach_to(endpoint : Endpoint, callees : Array(Entry))
Attach collected callees to an endpoint as Callee records.
Instance Method Detail
Attach collected callees to an endpoint as Callee records.