MCPcopy Create free account
hub / github.com/PHPantom-dev/phpantom_lsp / symbols_simple_function

Function symbols_simple_function

src/classmap_scanner.rs:2359–2365  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2357
2358 #[test]
2359 fn symbols_simple_function() {
2360 let content = b"<?php\nfunction helper(): void {}";
2361 let result = find_symbols(content);
2362 assert_eq!(result.functions, vec!["helper"]);
2363 assert!(result.classes.is_empty());
2364 assert!(result.constants.is_empty());
2365 }
2366
2367 #[test]
2368 fn symbols_namespaced_function() {

Callers

nothing calls this directly

Calls 1

find_symbolsFunction · 0.85

Tested by

no test coverage detected