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

Method Attributes

node/stmt/n_class_method.go:52–57  ·  view source on GitHub ↗

Attributes returns node attributes as map

()

Source from the content-addressed store, hash-verified

50
51// Attributes returns node attributes as map
52func (n *ClassMethod) Attributes() map[string]interface{} {
53 return map[string]interface{}{
54 "ReturnsRef": n.ReturnsRef,
55 "PhpDocComment": n.PhpDocComment,
56 }
57}
58
59// Walk traverses nodes
60// Walk is invoked recursively until v.EnterNode returns true

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected