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