php-parser/node/expr/cast/cast_object.go
2017-12-27 19:55:58 +02:00

23 lines
268 B
Go

package cast
import (
"github.com/z7zmey/php-parser/node"
)
func (n CastObject) Name() string {
return "CastObject"
}
type CastObject struct {
Cast
}
func NewCastObject(expr node.Node) node.Node {
return CastObject{
Cast{
"CastObject",
expr,
},
}
}