php-parser/node/name/relative.go
2017-12-05 23:36:28 +02:00

20 lines
269 B
Go

package name
import (
"github.com/z7zmey/php-parser/node"
)
type Relative struct {
Name
}
func NewRelative(parts []node.Node) node.Node {
return Relative{
Name{
node.SimpleNode{Name: "RelativeName", Attributes: make(map[string]string)},
parts,
},
}
}