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

23 lines
250 B
Go

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