Attributes returns node attributes as map
()
| 50 | |
| 51 | // Attributes returns node attributes as map |
| 52 | func (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 |
nothing calls this directly
no outgoing calls
no test coverage detected