php-parser/node/name/fully_qualified.go

19 lines
292 B
Go
Raw Normal View History

2017-12-05 21:36:28 +00:00
package name
import (
"github.com/z7zmey/php-parser/node"
)
type FullyQualified struct {
Name
}
func NewFullyQualified(parts []node.Node) node.Node {
return FullyQualified{
Name{
node.SimpleNode{Name: "FullyQualifiedName", Attributes: make(map[string]string)},
parts,
},
}
}