php-parser/node/name/fully_qualified.go

27 lines
385 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 {
2017-12-27 17:55:58 +00:00
NameNode
2017-12-05 21:36:28 +00:00
}
func NewFullyQualified(parts []node.Node) node.Node {
return FullyQualified{
2017-12-27 17:55:58 +00:00
NameNode{
"FullyQualifiedName",
2017-12-05 21:36:28 +00:00
parts,
},
}
}
2017-12-27 17:55:58 +00:00
func (n FullyQualified) Name() string {
return "FullyQualified"
}
2017-12-29 15:20:24 +00:00
func (n FullyQualified) Attributes() map[string]interface{} {
return nil
}