2017-12-05 21:36:28 +00:00
|
|
|
package name
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/z7zmey/php-parser/node"
|
|
|
|
)
|
|
|
|
|
|
|
|
type FullyQualified struct {
|
2018-01-04 18:29:07 +00:00
|
|
|
Name
|
2017-12-05 21:36:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func NewFullyQualified(parts []node.Node) node.Node {
|
2018-01-04 18:42:44 +00:00
|
|
|
return &FullyQualified{
|
2018-01-04 18:29:07 +00:00
|
|
|
Name{
|
2017-12-29 15:53:13 +00:00
|
|
|
map[string]interface{}{},
|
2017-12-31 10:59:22 +00:00
|
|
|
nil,
|
2017-12-05 21:36:28 +00:00
|
|
|
parts,
|
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|
2017-12-27 17:55:58 +00:00
|
|
|
|
2017-12-29 15:20:24 +00:00
|
|
|
func (n FullyQualified) Attributes() map[string]interface{} {
|
2017-12-29 15:53:13 +00:00
|
|
|
return n.attributes
|
2017-12-29 15:20:24 +00:00
|
|
|
}
|