23 lines
262 B
Go
23 lines
262 B
Go
package cast
|
|
|
|
import (
|
|
"github.com/z7zmey/php-parser/node"
|
|
)
|
|
|
|
func (n CastArray) Name() string {
|
|
return "CastArray"
|
|
}
|
|
|
|
type CastArray struct {
|
|
Cast
|
|
}
|
|
|
|
func NewCastArray(expr node.Node) node.Node {
|
|
return CastArray{
|
|
Cast{
|
|
"CastArray",
|
|
expr,
|
|
},
|
|
}
|
|
}
|