php-parser/node/name/relative.go
2018-01-11 19:34:42 +02:00

20 lines
238 B
Go

package name
import (
"github.com/z7zmey/php-parser/node"
)
// Relative node
type Relative struct {
Name
}
// NewRelative node constuctor
func NewRelative(Parts []node.Node) *Relative {
return &Relative{
Name{
Parts,
},
}
}