MCPcopy Create free account
hub / github.com/z7zmey/php-parser / Parser

Interface Parser

parser/parser.go:12–17  ·  view source on GitHub ↗

Parser interface

Source from the content-addressed store, hash-verified

10
11// Parser interface
12type Parser interface {
13 Parse() int
14 GetRootNode() node.Node
15 GetErrors() []*errors.Error
16 WithFreeFloating()
17}
18
19func NewParser(src []byte, v string) (Parser, error) {
20 var parser Parser

Callers 56

printerWorkerFunction · 0.65
printerWorkerFunction · 0.65
GetErrorsMethod · 0.65
GetErrorsMethod · 0.65
parserWorkerFunction · 0.95
parsePhp5Function · 0.95
ExamplePrinterFunction · 0.95
parseFunction · 0.95
ExamplePrettyJsonDumperFunction · 0.95
ExampleGoDumperFunction · 0.95
ExampleJsonDumperFunction · 0.95
ExampleDumperFunction · 0.95

Implementers 2

Parserphp7/parser.go
Parserphp5/parser.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…