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

23 lines
256 B
Go

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