Extract references (function calls, variable usages) from source code. The default implementation returns an empty list. Languages that support reference extraction should override this. # Arguments `source` - The source code text. `file_path` - The file path (for Reference.file field). # Returns A list of references found in the source code.
(&mut self, source: &str, file_path: &str)
| 211 | /// |
| 212 | /// A list of references found in the source code. |
| 213 | fn extract_references(&mut self, source: &str, file_path: &str) -> Vec<Reference> { |
| 214 | let _ = (source, file_path); |
| 215 | Vec::new() |
| 216 | } |
| 217 | } |
| 218 | |
| 219 | // ═══════════════════════════════════════════════════════════════════════ |
nothing calls this directly
no outgoing calls
no test coverage detected