MCPcopy Create free account
hub / github.com/php/frankenphp / Parse

Method Parse

internal/extgen/classparser.go:23–25  ·  view source on GitHub ↗
(filename string)

Source from the content-addressed store, hash-verified

21type classParser struct{}
22
23func (cp *classParser) Parse(filename string) ([]phpClass, error) {
24 return cp.parse(filename)
25}
26
27func (cp *classParser) parse(filename string) (classes []phpClass, err error) {
28 fset := token.NewFileSet()

Callers 6

TestMainFunction · 0.80
getTemplateContentMethod · 0.80
buildContentMethod · 0.80
getTemplateContentMethod · 0.80
buildContentMethod · 0.80
generateMarkdownMethod · 0.80

Calls 1

parseMethod · 0.95

Tested by 1

TestMainFunction · 0.64