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

Method parse_php

src/parser/mod.rs:1057–1059  ·  view source on GitHub ↗

Parse PHP source text and extract class information. Returns a Vec of ClassInfo for all classes found in the file.

(&self, content: &str)

Source from the content-addressed store, hash-verified

1055 /// Parse PHP source text and extract class information.
1056 /// Returns a Vec of ClassInfo for all classes found in the file.
1057 pub fn parse_php(&self, content: &str) -> Vec<ClassInfo> {
1058 Self::parse_php_versioned(content, None)
1059 }
1060
1061 /// Version-aware variant of [`parse_php`].
1062 ///

Calls

no outgoing calls