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

Method Attributes

node/scalar/node_encapsed_string_part.go:39–43  ·  view source on GitHub ↗

Attributes returns node attributes as map

()

Source from the content-addressed store, hash-verified

37
38// Attributes returns node attributes as map
39func (n *EncapsedStringPart) Attributes() map[string]interface{} {
40 return map[string]interface{}{
41 "Value": n.Value,
42 }
43}
44
45// Walk traverses nodes
46// Walk is invoked recursively until v.EnterNode returns true

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected