fix comments pointers
This commit is contained in:
parent
621a27b24b
commit
065e6ad203
@ -37,8 +37,8 @@ func (n Argument) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n Argument) SetComments(c []comment.Comment) Node {
|
func (n Argument) SetComments(c *[]comment.Comment) Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -36,8 +36,8 @@ func (n Array) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n Array) SetComments(c []comment.Comment) node.Node {
|
func (n Array) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -38,8 +38,8 @@ func (n ArrayDimFetch) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n ArrayDimFetch) SetComments(c []comment.Comment) node.Node {
|
func (n ArrayDimFetch) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -42,8 +42,8 @@ func (n ArrayItem) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n ArrayItem) SetComments(c []comment.Comment) node.Node {
|
func (n ArrayItem) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,8 +37,8 @@ func (n Assign) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n Assign) SetComments(c []comment.Comment) node.Node {
|
func (n Assign) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,8 +37,8 @@ func (n AssignRef) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n AssignRef) SetComments(c []comment.Comment) node.Node {
|
func (n AssignRef) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,8 +37,8 @@ func (n BitwiseAnd) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n BitwiseAnd) SetComments(c []comment.Comment) node.Node {
|
func (n BitwiseAnd) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,8 +37,8 @@ func (n BitwiseOr) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n BitwiseOr) SetComments(c []comment.Comment) node.Node {
|
func (n BitwiseOr) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,8 +37,8 @@ func (n BitwiseXor) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n BitwiseXor) SetComments(c []comment.Comment) node.Node {
|
func (n BitwiseXor) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,8 +37,8 @@ func (n Concat) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n Concat) SetComments(c []comment.Comment) node.Node {
|
func (n Concat) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,8 +37,8 @@ func (n Div) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n Div) SetComments(c []comment.Comment) node.Node {
|
func (n Div) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,8 +37,8 @@ func (n Minus) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n Minus) SetComments(c []comment.Comment) node.Node {
|
func (n Minus) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,8 +37,8 @@ func (n Mod) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n Mod) SetComments(c []comment.Comment) node.Node {
|
func (n Mod) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,8 +37,8 @@ func (n Mul) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n Mul) SetComments(c []comment.Comment) node.Node {
|
func (n Mul) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,8 +37,8 @@ func (n Plus) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n Plus) SetComments(c []comment.Comment) node.Node {
|
func (n Plus) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,8 +37,8 @@ func (n Pow) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n Pow) SetComments(c []comment.Comment) node.Node {
|
func (n Pow) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,8 +37,8 @@ func (n ShiftLeft) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n ShiftLeft) SetComments(c []comment.Comment) node.Node {
|
func (n ShiftLeft) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,8 +37,8 @@ func (n ShiftRight) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n ShiftRight) SetComments(c []comment.Comment) node.Node {
|
func (n ShiftRight) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,8 +37,8 @@ func (n BitwiseAnd) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n BitwiseAnd) SetComments(c []comment.Comment) node.Node {
|
func (n BitwiseAnd) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,8 +37,8 @@ func (n BitwiseOr) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n BitwiseOr) SetComments(c []comment.Comment) node.Node {
|
func (n BitwiseOr) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,8 +37,8 @@ func (n BitwiseXor) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n BitwiseXor) SetComments(c []comment.Comment) node.Node {
|
func (n BitwiseXor) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,8 +37,8 @@ func (n BooleanAnd) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n BooleanAnd) SetComments(c []comment.Comment) node.Node {
|
func (n BooleanAnd) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,8 +37,8 @@ func (n BooleanOr) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n BooleanOr) SetComments(c []comment.Comment) node.Node {
|
func (n BooleanOr) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,8 +37,8 @@ func (n Coalesce) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n Coalesce) SetComments(c []comment.Comment) node.Node {
|
func (n Coalesce) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,8 +37,8 @@ func (n Concat) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n Concat) SetComments(c []comment.Comment) node.Node {
|
func (n Concat) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,8 +37,8 @@ func (n Div) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n Div) SetComments(c []comment.Comment) node.Node {
|
func (n Div) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,8 +37,8 @@ func (n Equal) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n Equal) SetComments(c []comment.Comment) node.Node {
|
func (n Equal) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,8 +37,8 @@ func (n Greater) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n Greater) SetComments(c []comment.Comment) node.Node {
|
func (n Greater) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,8 +37,8 @@ func (n GreaterOrEqual) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n GreaterOrEqual) SetComments(c []comment.Comment) node.Node {
|
func (n GreaterOrEqual) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,8 +37,8 @@ func (n Identical) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n Identical) SetComments(c []comment.Comment) node.Node {
|
func (n Identical) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,8 +37,8 @@ func (n LogicalAnd) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n LogicalAnd) SetComments(c []comment.Comment) node.Node {
|
func (n LogicalAnd) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,8 +37,8 @@ func (n LogicalOr) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n LogicalOr) SetComments(c []comment.Comment) node.Node {
|
func (n LogicalOr) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,8 +37,8 @@ func (n LogicalXor) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n LogicalXor) SetComments(c []comment.Comment) node.Node {
|
func (n LogicalXor) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,8 +37,8 @@ func (n Minus) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n Minus) SetComments(c []comment.Comment) node.Node {
|
func (n Minus) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,8 +37,8 @@ func (n Mod) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n Mod) SetComments(c []comment.Comment) node.Node {
|
func (n Mod) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,8 +37,8 @@ func (n Mul) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n Mul) SetComments(c []comment.Comment) node.Node {
|
func (n Mul) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,8 +37,8 @@ func (n NotEqual) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n NotEqual) SetComments(c []comment.Comment) node.Node {
|
func (n NotEqual) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,8 +37,8 @@ func (n NotIdentical) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n NotIdentical) SetComments(c []comment.Comment) node.Node {
|
func (n NotIdentical) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,8 +37,8 @@ func (n Plus) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n Plus) SetComments(c []comment.Comment) node.Node {
|
func (n Plus) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,8 +37,8 @@ func (n Pow) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n Pow) SetComments(c []comment.Comment) node.Node {
|
func (n Pow) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,8 +37,8 @@ func (n ShiftLeft) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n ShiftLeft) SetComments(c []comment.Comment) node.Node {
|
func (n ShiftLeft) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,8 +37,8 @@ func (n ShiftRight) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n ShiftRight) SetComments(c []comment.Comment) node.Node {
|
func (n ShiftRight) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,8 +37,8 @@ func (n Smaller) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n Smaller) SetComments(c []comment.Comment) node.Node {
|
func (n Smaller) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,8 +37,8 @@ func (n SmallerOrEqual) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n SmallerOrEqual) SetComments(c []comment.Comment) node.Node {
|
func (n SmallerOrEqual) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,8 +37,8 @@ func (n Spaceship) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n Spaceship) SetComments(c []comment.Comment) node.Node {
|
func (n Spaceship) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -36,8 +36,8 @@ func (n BitwiseNot) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n BitwiseNot) SetComments(c []comment.Comment) node.Node {
|
func (n BitwiseNot) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -36,8 +36,8 @@ func (n BooleanNot) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n BooleanNot) SetComments(c []comment.Comment) node.Node {
|
func (n BooleanNot) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -36,8 +36,8 @@ func (n CastArray) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n CastArray) SetComments(c []comment.Comment) node.Node {
|
func (n CastArray) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -36,8 +36,8 @@ func (n CastBool) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n CastBool) SetComments(c []comment.Comment) node.Node {
|
func (n CastBool) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -36,8 +36,8 @@ func (n CastDouble) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n CastDouble) SetComments(c []comment.Comment) node.Node {
|
func (n CastDouble) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -36,8 +36,8 @@ func (n CastInt) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n CastInt) SetComments(c []comment.Comment) node.Node {
|
func (n CastInt) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -36,8 +36,8 @@ func (n CastObject) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n CastObject) SetComments(c []comment.Comment) node.Node {
|
func (n CastObject) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -36,8 +36,8 @@ func (n CastString) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n CastString) SetComments(c []comment.Comment) node.Node {
|
func (n CastString) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -36,8 +36,8 @@ func (n CastUnset) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n CastUnset) SetComments(c []comment.Comment) node.Node {
|
func (n CastUnset) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -38,8 +38,8 @@ func (n ClassConstFetch) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n ClassConstFetch) SetComments(c []comment.Comment) node.Node {
|
func (n ClassConstFetch) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -36,8 +36,8 @@ func (n Clone) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n Clone) SetComments(c []comment.Comment) node.Node {
|
func (n Clone) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -52,8 +52,8 @@ func (n Closure) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n Closure) SetComments(c []comment.Comment) node.Node {
|
func (n Closure) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -40,8 +40,8 @@ func (n ClusureUse) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n ClusureUse) SetComments(c []comment.Comment) node.Node {
|
func (n ClusureUse) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -36,8 +36,8 @@ func (n ConstFetch) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n ConstFetch) SetComments(c []comment.Comment) node.Node {
|
func (n ConstFetch) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -36,8 +36,8 @@ func (n Empty) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n Empty) SetComments(c []comment.Comment) node.Node {
|
func (n Empty) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -36,8 +36,8 @@ func (n ErrorSuppress) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n ErrorSuppress) SetComments(c []comment.Comment) node.Node {
|
func (n ErrorSuppress) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -36,8 +36,8 @@ func (n Eval) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n Eval) SetComments(c []comment.Comment) node.Node {
|
func (n Eval) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -40,8 +40,8 @@ func (n Exit) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n Exit) SetComments(c []comment.Comment) node.Node {
|
func (n Exit) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -38,8 +38,8 @@ func (n FunctionCall) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n FunctionCall) SetComments(c []comment.Comment) node.Node {
|
func (n FunctionCall) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -36,8 +36,8 @@ func (n Include) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n Include) SetComments(c []comment.Comment) node.Node {
|
func (n Include) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -36,8 +36,8 @@ func (n IncludeOnce) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n IncludeOnce) SetComments(c []comment.Comment) node.Node {
|
func (n IncludeOnce) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -38,8 +38,8 @@ func (n InstanceOf) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n InstanceOf) SetComments(c []comment.Comment) node.Node {
|
func (n InstanceOf) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -36,8 +36,8 @@ func (n Isset) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n Isset) SetComments(c []comment.Comment) node.Node {
|
func (n Isset) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -36,8 +36,8 @@ func (n List) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n List) SetComments(c []comment.Comment) node.Node {
|
func (n List) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -40,8 +40,8 @@ func (n MethodCall) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n MethodCall) SetComments(c []comment.Comment) node.Node {
|
func (n MethodCall) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -38,8 +38,8 @@ func (n New) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n New) SetComments(c []comment.Comment) node.Node {
|
func (n New) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -36,8 +36,8 @@ func (n PostDec) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n PostDec) SetComments(c []comment.Comment) node.Node {
|
func (n PostDec) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -36,8 +36,8 @@ func (n PostInc) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n PostInc) SetComments(c []comment.Comment) node.Node {
|
func (n PostInc) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -36,8 +36,8 @@ func (n PreDec) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n PreDec) SetComments(c []comment.Comment) node.Node {
|
func (n PreDec) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -36,8 +36,8 @@ func (n PreInc) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n PreInc) SetComments(c []comment.Comment) node.Node {
|
func (n PreInc) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -36,8 +36,8 @@ func (n Print) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n Print) SetComments(c []comment.Comment) node.Node {
|
func (n Print) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -38,8 +38,8 @@ func (n PropertyFetch) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n PropertyFetch) SetComments(c []comment.Comment) node.Node {
|
func (n PropertyFetch) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -36,8 +36,8 @@ func (n Require) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n Require) SetComments(c []comment.Comment) node.Node {
|
func (n Require) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -36,8 +36,8 @@ func (n RequireOnce) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n RequireOnce) SetComments(c []comment.Comment) node.Node {
|
func (n RequireOnce) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -36,8 +36,8 @@ func (n ShellExec) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n ShellExec) SetComments(c []comment.Comment) node.Node {
|
func (n ShellExec) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -36,8 +36,8 @@ func (n ShortArray) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n ShortArray) SetComments(c []comment.Comment) node.Node {
|
func (n ShortArray) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -36,8 +36,8 @@ func (n ShortList) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n ShortList) SetComments(c []comment.Comment) node.Node {
|
func (n ShortList) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -40,8 +40,8 @@ func (n StaticCall) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n StaticCall) SetComments(c []comment.Comment) node.Node {
|
func (n StaticCall) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -38,8 +38,8 @@ func (n StaticPropertyFetch) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n StaticPropertyFetch) SetComments(c []comment.Comment) node.Node {
|
func (n StaticPropertyFetch) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -40,8 +40,8 @@ func (n Ternary) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n Ternary) SetComments(c []comment.Comment) node.Node {
|
func (n Ternary) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -36,8 +36,8 @@ func (n UnaryMinus) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n UnaryMinus) SetComments(c []comment.Comment) node.Node {
|
func (n UnaryMinus) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -36,8 +36,8 @@ func (n UnaryPlus) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n UnaryPlus) SetComments(c []comment.Comment) node.Node {
|
func (n UnaryPlus) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -36,8 +36,8 @@ func (n Variable) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n Variable) SetComments(c []comment.Comment) node.Node {
|
func (n Variable) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -38,8 +38,8 @@ func (n Yield) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n Yield) SetComments(c []comment.Comment) node.Node {
|
func (n Yield) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -36,8 +36,8 @@ func (n YieldFrom) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n YieldFrom) SetComments(c []comment.Comment) node.Node {
|
func (n YieldFrom) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -35,8 +35,8 @@ func (n Identifier) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n Identifier) SetComments(c []comment.Comment) Node {
|
func (n Identifier) SetComments(c *[]comment.Comment) Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -36,8 +36,8 @@ func (n Name) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n Name) SetComments(c []comment.Comment) node.Node {
|
func (n Name) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -38,8 +38,8 @@ func (n NamePart) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n NamePart) SetComments(c []comment.Comment) node.Node {
|
func (n NamePart) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ type Node interface {
|
|||||||
|
|
||||||
type Commenter interface {
|
type Commenter interface {
|
||||||
Comments() *[]comment.Comment
|
Comments() *[]comment.Comment
|
||||||
SetComments([]comment.Comment) Node
|
SetComments(*[]comment.Comment) Node
|
||||||
}
|
}
|
||||||
|
|
||||||
type Positioner interface {
|
type Positioner interface {
|
||||||
|
@ -33,8 +33,8 @@ func (n Nullable) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n Nullable) SetComments(c []comment.Comment) Node {
|
func (n Nullable) SetComments(c *[]comment.Comment) Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -44,8 +44,8 @@ func (n Parameter) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n Parameter) SetComments(c []comment.Comment) Node {
|
func (n Parameter) SetComments(c *[]comment.Comment) Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -38,8 +38,8 @@ func (n Dnumber) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n Dnumber) SetComments(c []comment.Comment) node.Node {
|
func (n Dnumber) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -36,8 +36,8 @@ func (n Encapsed) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n Encapsed) SetComments(c []comment.Comment) node.Node {
|
func (n Encapsed) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -38,8 +38,8 @@ func (n EncapsedStringPart) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n EncapsedStringPart) SetComments(c []comment.Comment) node.Node {
|
func (n EncapsedStringPart) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -38,8 +38,8 @@ func (n Lnumber) Comments() *[]comment.Comment {
|
|||||||
return n.comments
|
return n.comments
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n Lnumber) SetComments(c []comment.Comment) node.Node {
|
func (n Lnumber) SetComments(c *[]comment.Comment) node.Node {
|
||||||
n.comments = &c
|
n.comments = c
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user