fix comments pointers
This commit is contained in:
@@ -37,8 +37,8 @@ func (n BitwiseAnd) Comments() *[]comment.Comment {
|
||||
return n.comments
|
||||
}
|
||||
|
||||
func (n BitwiseAnd) SetComments(c []comment.Comment) node.Node {
|
||||
n.comments = &c
|
||||
func (n BitwiseAnd) SetComments(c *[]comment.Comment) node.Node {
|
||||
n.comments = c
|
||||
return n
|
||||
}
|
||||
|
||||
|
||||
@@ -37,8 +37,8 @@ func (n BitwiseOr) Comments() *[]comment.Comment {
|
||||
return n.comments
|
||||
}
|
||||
|
||||
func (n BitwiseOr) SetComments(c []comment.Comment) node.Node {
|
||||
n.comments = &c
|
||||
func (n BitwiseOr) SetComments(c *[]comment.Comment) node.Node {
|
||||
n.comments = c
|
||||
return n
|
||||
}
|
||||
|
||||
|
||||
@@ -37,8 +37,8 @@ func (n BitwiseXor) Comments() *[]comment.Comment {
|
||||
return n.comments
|
||||
}
|
||||
|
||||
func (n BitwiseXor) SetComments(c []comment.Comment) node.Node {
|
||||
n.comments = &c
|
||||
func (n BitwiseXor) SetComments(c *[]comment.Comment) node.Node {
|
||||
n.comments = c
|
||||
return n
|
||||
}
|
||||
|
||||
|
||||
@@ -37,8 +37,8 @@ func (n BooleanAnd) Comments() *[]comment.Comment {
|
||||
return n.comments
|
||||
}
|
||||
|
||||
func (n BooleanAnd) SetComments(c []comment.Comment) node.Node {
|
||||
n.comments = &c
|
||||
func (n BooleanAnd) SetComments(c *[]comment.Comment) node.Node {
|
||||
n.comments = c
|
||||
return n
|
||||
}
|
||||
|
||||
|
||||
@@ -37,8 +37,8 @@ func (n BooleanOr) Comments() *[]comment.Comment {
|
||||
return n.comments
|
||||
}
|
||||
|
||||
func (n BooleanOr) SetComments(c []comment.Comment) node.Node {
|
||||
n.comments = &c
|
||||
func (n BooleanOr) SetComments(c *[]comment.Comment) node.Node {
|
||||
n.comments = c
|
||||
return n
|
||||
}
|
||||
|
||||
|
||||
@@ -37,8 +37,8 @@ func (n Coalesce) Comments() *[]comment.Comment {
|
||||
return n.comments
|
||||
}
|
||||
|
||||
func (n Coalesce) SetComments(c []comment.Comment) node.Node {
|
||||
n.comments = &c
|
||||
func (n Coalesce) SetComments(c *[]comment.Comment) node.Node {
|
||||
n.comments = c
|
||||
return n
|
||||
}
|
||||
|
||||
|
||||
@@ -37,8 +37,8 @@ func (n Concat) Comments() *[]comment.Comment {
|
||||
return n.comments
|
||||
}
|
||||
|
||||
func (n Concat) SetComments(c []comment.Comment) node.Node {
|
||||
n.comments = &c
|
||||
func (n Concat) SetComments(c *[]comment.Comment) node.Node {
|
||||
n.comments = c
|
||||
return n
|
||||
}
|
||||
|
||||
|
||||
@@ -37,8 +37,8 @@ func (n Div) Comments() *[]comment.Comment {
|
||||
return n.comments
|
||||
}
|
||||
|
||||
func (n Div) SetComments(c []comment.Comment) node.Node {
|
||||
n.comments = &c
|
||||
func (n Div) SetComments(c *[]comment.Comment) node.Node {
|
||||
n.comments = c
|
||||
return n
|
||||
}
|
||||
|
||||
|
||||
@@ -37,8 +37,8 @@ func (n Equal) Comments() *[]comment.Comment {
|
||||
return n.comments
|
||||
}
|
||||
|
||||
func (n Equal) SetComments(c []comment.Comment) node.Node {
|
||||
n.comments = &c
|
||||
func (n Equal) SetComments(c *[]comment.Comment) node.Node {
|
||||
n.comments = c
|
||||
return n
|
||||
}
|
||||
|
||||
|
||||
@@ -37,8 +37,8 @@ func (n Greater) Comments() *[]comment.Comment {
|
||||
return n.comments
|
||||
}
|
||||
|
||||
func (n Greater) SetComments(c []comment.Comment) node.Node {
|
||||
n.comments = &c
|
||||
func (n Greater) SetComments(c *[]comment.Comment) node.Node {
|
||||
n.comments = c
|
||||
return n
|
||||
}
|
||||
|
||||
|
||||
@@ -37,8 +37,8 @@ func (n GreaterOrEqual) Comments() *[]comment.Comment {
|
||||
return n.comments
|
||||
}
|
||||
|
||||
func (n GreaterOrEqual) SetComments(c []comment.Comment) node.Node {
|
||||
n.comments = &c
|
||||
func (n GreaterOrEqual) SetComments(c *[]comment.Comment) node.Node {
|
||||
n.comments = c
|
||||
return n
|
||||
}
|
||||
|
||||
|
||||
@@ -37,8 +37,8 @@ func (n Identical) Comments() *[]comment.Comment {
|
||||
return n.comments
|
||||
}
|
||||
|
||||
func (n Identical) SetComments(c []comment.Comment) node.Node {
|
||||
n.comments = &c
|
||||
func (n Identical) SetComments(c *[]comment.Comment) node.Node {
|
||||
n.comments = c
|
||||
return n
|
||||
}
|
||||
|
||||
|
||||
@@ -37,8 +37,8 @@ func (n LogicalAnd) Comments() *[]comment.Comment {
|
||||
return n.comments
|
||||
}
|
||||
|
||||
func (n LogicalAnd) SetComments(c []comment.Comment) node.Node {
|
||||
n.comments = &c
|
||||
func (n LogicalAnd) SetComments(c *[]comment.Comment) node.Node {
|
||||
n.comments = c
|
||||
return n
|
||||
}
|
||||
|
||||
|
||||
@@ -37,8 +37,8 @@ func (n LogicalOr) Comments() *[]comment.Comment {
|
||||
return n.comments
|
||||
}
|
||||
|
||||
func (n LogicalOr) SetComments(c []comment.Comment) node.Node {
|
||||
n.comments = &c
|
||||
func (n LogicalOr) SetComments(c *[]comment.Comment) node.Node {
|
||||
n.comments = c
|
||||
return n
|
||||
}
|
||||
|
||||
|
||||
@@ -37,8 +37,8 @@ func (n LogicalXor) Comments() *[]comment.Comment {
|
||||
return n.comments
|
||||
}
|
||||
|
||||
func (n LogicalXor) SetComments(c []comment.Comment) node.Node {
|
||||
n.comments = &c
|
||||
func (n LogicalXor) SetComments(c *[]comment.Comment) node.Node {
|
||||
n.comments = c
|
||||
return n
|
||||
}
|
||||
|
||||
|
||||
@@ -37,8 +37,8 @@ func (n Minus) Comments() *[]comment.Comment {
|
||||
return n.comments
|
||||
}
|
||||
|
||||
func (n Minus) SetComments(c []comment.Comment) node.Node {
|
||||
n.comments = &c
|
||||
func (n Minus) SetComments(c *[]comment.Comment) node.Node {
|
||||
n.comments = c
|
||||
return n
|
||||
}
|
||||
|
||||
|
||||
@@ -37,8 +37,8 @@ func (n Mod) Comments() *[]comment.Comment {
|
||||
return n.comments
|
||||
}
|
||||
|
||||
func (n Mod) SetComments(c []comment.Comment) node.Node {
|
||||
n.comments = &c
|
||||
func (n Mod) SetComments(c *[]comment.Comment) node.Node {
|
||||
n.comments = c
|
||||
return n
|
||||
}
|
||||
|
||||
|
||||
@@ -37,8 +37,8 @@ func (n Mul) Comments() *[]comment.Comment {
|
||||
return n.comments
|
||||
}
|
||||
|
||||
func (n Mul) SetComments(c []comment.Comment) node.Node {
|
||||
n.comments = &c
|
||||
func (n Mul) SetComments(c *[]comment.Comment) node.Node {
|
||||
n.comments = c
|
||||
return n
|
||||
}
|
||||
|
||||
|
||||
@@ -37,8 +37,8 @@ func (n NotEqual) Comments() *[]comment.Comment {
|
||||
return n.comments
|
||||
}
|
||||
|
||||
func (n NotEqual) SetComments(c []comment.Comment) node.Node {
|
||||
n.comments = &c
|
||||
func (n NotEqual) SetComments(c *[]comment.Comment) node.Node {
|
||||
n.comments = c
|
||||
return n
|
||||
}
|
||||
|
||||
|
||||
@@ -37,8 +37,8 @@ func (n NotIdentical) Comments() *[]comment.Comment {
|
||||
return n.comments
|
||||
}
|
||||
|
||||
func (n NotIdentical) SetComments(c []comment.Comment) node.Node {
|
||||
n.comments = &c
|
||||
func (n NotIdentical) SetComments(c *[]comment.Comment) node.Node {
|
||||
n.comments = c
|
||||
return n
|
||||
}
|
||||
|
||||
|
||||
@@ -37,8 +37,8 @@ func (n Plus) Comments() *[]comment.Comment {
|
||||
return n.comments
|
||||
}
|
||||
|
||||
func (n Plus) SetComments(c []comment.Comment) node.Node {
|
||||
n.comments = &c
|
||||
func (n Plus) SetComments(c *[]comment.Comment) node.Node {
|
||||
n.comments = c
|
||||
return n
|
||||
}
|
||||
|
||||
|
||||
@@ -37,8 +37,8 @@ func (n Pow) Comments() *[]comment.Comment {
|
||||
return n.comments
|
||||
}
|
||||
|
||||
func (n Pow) SetComments(c []comment.Comment) node.Node {
|
||||
n.comments = &c
|
||||
func (n Pow) SetComments(c *[]comment.Comment) node.Node {
|
||||
n.comments = c
|
||||
return n
|
||||
}
|
||||
|
||||
|
||||
@@ -37,8 +37,8 @@ func (n ShiftLeft) Comments() *[]comment.Comment {
|
||||
return n.comments
|
||||
}
|
||||
|
||||
func (n ShiftLeft) SetComments(c []comment.Comment) node.Node {
|
||||
n.comments = &c
|
||||
func (n ShiftLeft) SetComments(c *[]comment.Comment) node.Node {
|
||||
n.comments = c
|
||||
return n
|
||||
}
|
||||
|
||||
|
||||
@@ -37,8 +37,8 @@ func (n ShiftRight) Comments() *[]comment.Comment {
|
||||
return n.comments
|
||||
}
|
||||
|
||||
func (n ShiftRight) SetComments(c []comment.Comment) node.Node {
|
||||
n.comments = &c
|
||||
func (n ShiftRight) SetComments(c *[]comment.Comment) node.Node {
|
||||
n.comments = c
|
||||
return n
|
||||
}
|
||||
|
||||
|
||||
@@ -37,8 +37,8 @@ func (n Smaller) Comments() *[]comment.Comment {
|
||||
return n.comments
|
||||
}
|
||||
|
||||
func (n Smaller) SetComments(c []comment.Comment) node.Node {
|
||||
n.comments = &c
|
||||
func (n Smaller) SetComments(c *[]comment.Comment) node.Node {
|
||||
n.comments = c
|
||||
return n
|
||||
}
|
||||
|
||||
|
||||
@@ -37,8 +37,8 @@ func (n SmallerOrEqual) Comments() *[]comment.Comment {
|
||||
return n.comments
|
||||
}
|
||||
|
||||
func (n SmallerOrEqual) SetComments(c []comment.Comment) node.Node {
|
||||
n.comments = &c
|
||||
func (n SmallerOrEqual) SetComments(c *[]comment.Comment) node.Node {
|
||||
n.comments = c
|
||||
return n
|
||||
}
|
||||
|
||||
|
||||
@@ -37,8 +37,8 @@ func (n Spaceship) Comments() *[]comment.Comment {
|
||||
return n.comments
|
||||
}
|
||||
|
||||
func (n Spaceship) SetComments(c []comment.Comment) node.Node {
|
||||
n.comments = &c
|
||||
func (n Spaceship) SetComments(c *[]comment.Comment) node.Node {
|
||||
n.comments = c
|
||||
return n
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user