constructors return pointer

This commit is contained in:
z7zmey
2018-01-04 20:42:44 +02:00
parent 383a245370
commit dc8808a7d6
154 changed files with 154 additions and 154 deletions

View File

@@ -9,7 +9,7 @@ type CastArray struct {
}
func NewCastArray(expr node.Node) node.Node {
return CastArray{
return &CastArray{
Cast{
map[string]interface{}{},
nil,

View File

@@ -9,7 +9,7 @@ type CastBool struct {
}
func NewCastBool(expr node.Node) node.Node {
return CastBool{
return &CastBool{
Cast{
map[string]interface{}{},
nil,

View File

@@ -9,7 +9,7 @@ type CastDouble struct {
}
func NewCastDouble(expr node.Node) node.Node {
return CastDouble{
return &CastDouble{
Cast{
map[string]interface{}{},
nil,

View File

@@ -9,7 +9,7 @@ type CastInt struct {
}
func NewCastInt(expr node.Node) node.Node {
return CastInt{
return &CastInt{
Cast{
map[string]interface{}{},
nil,

View File

@@ -9,7 +9,7 @@ type CastObject struct {
}
func NewCastObject(expr node.Node) node.Node {
return CastObject{
return &CastObject{
Cast{
map[string]interface{}{},
nil,

View File

@@ -9,7 +9,7 @@ type CastString struct {
}
func NewCastString(expr node.Node) node.Node {
return CastString{
return &CastString{
Cast{
map[string]interface{}{},
nil,

View File

@@ -9,7 +9,7 @@ type CastUnset struct {
}
func NewCastUnset(expr node.Node) node.Node {
return CastUnset{
return &CastUnset{
Cast{
map[string]interface{}{},
nil,