module
Noir::RustCalleeExtractor
Extended Modules
Defined in:
miniparsers/rust_callee_extractor.crConstant Summary
-
RESERVED =
Noir::RustCalleeExtractorTS::RESERVED -
Kept as a public constant for any external caller that still consults the reserved set; the active implementation lives on
Noir::RustCalleeExtractorTS::RESERVED(same contents).
Instance Method Summary
- #attach_to(endpoint : Endpoint, callees : Array(Entry))
-
#callees_for_body(body : String, file_path : String, start_line : Int32) : Array(Entry)
Walk
body(a function body extracted as raw text by the engine) and return every callee. - #strip_comment(line : String, in_block_comment : Bool = false, preserve_strings : Bool = false) : String
- #strip_comment_with_state(line : String, in_block_comment : Bool, preserve_strings : Bool = false) : Tuple(String, Bool)
Instance Method Detail
Walk body (a function body extracted as raw text by the engine)
and return every callee. Internally delegates to the tree-sitter
extractor which walks the parsed AST instead of running per-line
regexes. The public signature stays identical so existing
analyzers don't need to change.
def strip_comment(line : String, in_block_comment : Bool = false, preserve_strings : Bool = false) : String
#