php-parser/node/name/fully_qualified.go
2017-12-31 13:15:50 +02:00

29 lines
431 B
Go

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