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

Function symbols_define_single_quote

src/classmap_scanner.rs:2421–2425  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2419
2420 #[test]
2421 fn symbols_define_single_quote() {
2422 let content = b"<?php\ndefine('MY_CONST', 42);";
2423 let result = find_symbols(content);
2424 assert_eq!(result.constants, vec!["MY_CONST"]);
2425 }
2426
2427 #[test]
2428 fn symbols_define_double_quote() {

Callers

nothing calls this directly

Calls 1

find_symbolsFunction · 0.85

Tested by

no test coverage detected