Attributes returns node attributes as map
()
| 48 | |
| 49 | // Attributes returns node attributes as map |
| 50 | func (n *ArrowFunction) Attributes() map[string]interface{} { |
| 51 | return map[string]interface{}{ |
| 52 | "ReturnsRef": n.ReturnsRef, |
| 53 | "Static": n.Static, |
| 54 | "PhpDocComment": n.PhpDocComment, |
| 55 | } |
| 56 | } |
| 57 | |
| 58 | // Walk traverses nodes |
| 59 | // Walk is invoked recursively until v.EnterNode returns true |
nothing calls this directly
no outgoing calls
no test coverage detected