module

Analyzer::Python::Helper

Shared path helpers for the Python framework analyzers. Kept framework-agnostic so each analyzer can opt in without duplicating the slash-collapse / leading-slash conventions.

Instance methods

extract_python_string(expression : String) : String | Nil
Source
normalize_path(path : String) : String

Collapse repeated slashes and ensure a single leading slash.

Source
normalized_join(prefix : String, path : String) : String
Source