Skip to main content

scan_references

Function scan_references 

Source
pub fn scan_references(
    content: &str,
    _source_path: &Path,
    input_root: &Path,
    refs: &mut Vec<S2sReference>,
)
Expand description

Scan script content for commands that load other .s2s files, and record the references found.

This scans BOTH inline scripts from .inf entries AND standalone .s2s file content, using lightweight text matching (no full parse).