php-parser/node/name/fully_qualified.go
2018-01-04 20:29:07 +02:00

24 lines
330 B
Go

package name
import (
"github.com/z7zmey/php-parser/node"
)
type FullyQualified struct {
Name
}
func NewFullyQualified(parts []node.Node) node.Node {
return FullyQualified{
Name{
map[string]interface{}{},
nil,
parts,
},
}
}
func (n FullyQualified) Attributes() map[string]interface{} {
return n.attributes
}