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

Function symbols_top_level_const

src/classmap_scanner.rs:2435–2439  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2433
2434 #[test]
2435 fn symbols_top_level_const() {
2436 let content = b"<?php\nconst FOO = 'bar';";
2437 let result = find_symbols(content);
2438 assert_eq!(result.constants, vec!["FOO"]);
2439 }
2440
2441 #[test]
2442 fn symbols_namespaced_const() {

Callers

nothing calls this directly

Calls 1

find_symbolsFunction · 0.85

Tested by

no test coverage detected