2017-12-05 21:36:28 +00:00
|
|
|
package name
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/z7zmey/php-parser/node"
|
|
|
|
)
|
|
|
|
|
|
|
|
type Relative struct {
|
2018-01-04 18:29:07 +00:00
|
|
|
Name
|
2017-12-05 21:36:28 +00:00
|
|
|
}
|
|
|
|
|
2018-01-08 19:18:09 +00:00
|
|
|
func NewRelative(Parts []node.Node) *Relative {
|
2018-01-04 18:42:44 +00:00
|
|
|
return &Relative{
|
2018-01-04 18:29:07 +00:00
|
|
|
Name{
|
2018-01-05 15:03:59 +00:00
|
|
|
nil,
|
2017-12-31 10:59:22 +00:00
|
|
|
nil,
|
2018-01-04 21:26:04 +00:00
|
|
|
Parts,
|
2017-12-05 21:36:28 +00:00
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|