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

Method GetRootNode

php5/parser.go:74–76  ·  view source on GitHub ↗

GetRootNode returns root node

()

Source from the content-addressed store, hash-verified

72
73// GetRootNode returns root node
74func (l *Parser) GetRootNode() node.Node {
75 return l.rootNode
76}
77
78// GetErrors returns errors list
79func (l *Parser) GetErrors() []*errors.Error {

Callers 3

TestPhp5Function · 0.95
TestPhp5StringsFunction · 0.95
TestPhp5HeredocFunction · 0.95

Implementers 2

Parserphp7/parser.go
Parserphp5/parser.go

Calls

no outgoing calls

Tested by 3

TestPhp5Function · 0.76
TestPhp5StringsFunction · 0.76
TestPhp5HeredocFunction · 0.76