fix comments pointers

This commit is contained in:
z7zmey 2018-01-06 14:04:02 +02:00
parent 621a27b24b
commit 065e6ad203
160 changed files with 991 additions and 972 deletions

View File

@ -37,8 +37,8 @@ func (n Argument) Comments() *[]comment.Comment {
return n.comments
}
func (n Argument) SetComments(c []comment.Comment) Node {
n.comments = &c
func (n Argument) SetComments(c *[]comment.Comment) Node {
n.comments = c
return n
}

View File

@ -36,8 +36,8 @@ func (n Array) Comments() *[]comment.Comment {
return n.comments
}
func (n Array) SetComments(c []comment.Comment) node.Node {
n.comments = &c
func (n Array) SetComments(c *[]comment.Comment) node.Node {
n.comments = c
return n
}

View File

@ -38,8 +38,8 @@ func (n ArrayDimFetch) Comments() *[]comment.Comment {
return n.comments
}
func (n ArrayDimFetch) SetComments(c []comment.Comment) node.Node {
n.comments = &c
func (n ArrayDimFetch) SetComments(c *[]comment.Comment) node.Node {
n.comments = c
return n
}

View File

@ -42,8 +42,8 @@ func (n ArrayItem) Comments() *[]comment.Comment {
return n.comments
}
func (n ArrayItem) SetComments(c []comment.Comment) node.Node {
n.comments = &c
func (n ArrayItem) SetComments(c *[]comment.Comment) node.Node {
n.comments = c
return n
}

View File

@ -37,8 +37,8 @@ func (n Assign) Comments() *[]comment.Comment {
return n.comments
}
func (n Assign) SetComments(c []comment.Comment) node.Node {
n.comments = &c
func (n Assign) SetComments(c *[]comment.Comment) node.Node {
n.comments = c
return n
}

View File

@ -37,8 +37,8 @@ func (n AssignRef) Comments() *[]comment.Comment {
return n.comments
}
func (n AssignRef) SetComments(c []comment.Comment) node.Node {
n.comments = &c
func (n AssignRef) SetComments(c *[]comment.Comment) node.Node {
n.comments = c
return n
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -36,8 +36,8 @@ func (n BitwiseNot) Comments() *[]comment.Comment {
return n.comments
}
func (n BitwiseNot) SetComments(c []comment.Comment) node.Node {
n.comments = &c
func (n BitwiseNot) SetComments(c *[]comment.Comment) node.Node {
n.comments = c
return n
}

View File

@ -36,8 +36,8 @@ func (n BooleanNot) Comments() *[]comment.Comment {
return n.comments
}
func (n BooleanNot) SetComments(c []comment.Comment) node.Node {
n.comments = &c
func (n BooleanNot) SetComments(c *[]comment.Comment) node.Node {
n.comments = c
return n
}

View File

@ -36,8 +36,8 @@ func (n CastArray) Comments() *[]comment.Comment {
return n.comments
}
func (n CastArray) SetComments(c []comment.Comment) node.Node {
n.comments = &c
func (n CastArray) SetComments(c *[]comment.Comment) node.Node {
n.comments = c
return n
}

View File

@ -36,8 +36,8 @@ func (n CastBool) Comments() *[]comment.Comment {
return n.comments
}
func (n CastBool) SetComments(c []comment.Comment) node.Node {
n.comments = &c
func (n CastBool) SetComments(c *[]comment.Comment) node.Node {
n.comments = c
return n
}

View File

@ -36,8 +36,8 @@ func (n CastDouble) Comments() *[]comment.Comment {
return n.comments
}
func (n CastDouble) SetComments(c []comment.Comment) node.Node {
n.comments = &c
func (n CastDouble) SetComments(c *[]comment.Comment) node.Node {
n.comments = c
return n
}

View File

@ -36,8 +36,8 @@ func (n CastInt) Comments() *[]comment.Comment {
return n.comments
}
func (n CastInt) SetComments(c []comment.Comment) node.Node {
n.comments = &c
func (n CastInt) SetComments(c *[]comment.Comment) node.Node {
n.comments = c
return n
}

View File

@ -36,8 +36,8 @@ func (n CastObject) Comments() *[]comment.Comment {
return n.comments
}
func (n CastObject) SetComments(c []comment.Comment) node.Node {
n.comments = &c
func (n CastObject) SetComments(c *[]comment.Comment) node.Node {
n.comments = c
return n
}

View File

@ -36,8 +36,8 @@ func (n CastString) Comments() *[]comment.Comment {
return n.comments
}
func (n CastString) SetComments(c []comment.Comment) node.Node {
n.comments = &c
func (n CastString) SetComments(c *[]comment.Comment) node.Node {
n.comments = c
return n
}

View File

@ -36,8 +36,8 @@ func (n CastUnset) Comments() *[]comment.Comment {
return n.comments
}
func (n CastUnset) SetComments(c []comment.Comment) node.Node {
n.comments = &c
func (n CastUnset) SetComments(c *[]comment.Comment) node.Node {
n.comments = c
return n
}

View File

@ -38,8 +38,8 @@ func (n ClassConstFetch) Comments() *[]comment.Comment {
return n.comments
}
func (n ClassConstFetch) SetComments(c []comment.Comment) node.Node {
n.comments = &c
func (n ClassConstFetch) SetComments(c *[]comment.Comment) node.Node {
n.comments = c
return n
}

View File

@ -36,8 +36,8 @@ func (n Clone) Comments() *[]comment.Comment {
return n.comments
}
func (n Clone) SetComments(c []comment.Comment) node.Node {
n.comments = &c
func (n Clone) SetComments(c *[]comment.Comment) node.Node {
n.comments = c
return n
}

View File

@ -52,8 +52,8 @@ func (n Closure) Comments() *[]comment.Comment {
return n.comments
}
func (n Closure) SetComments(c []comment.Comment) node.Node {
n.comments = &c
func (n Closure) SetComments(c *[]comment.Comment) node.Node {
n.comments = c
return n
}

View File

@ -40,8 +40,8 @@ func (n ClusureUse) Comments() *[]comment.Comment {
return n.comments
}
func (n ClusureUse) SetComments(c []comment.Comment) node.Node {
n.comments = &c
func (n ClusureUse) SetComments(c *[]comment.Comment) node.Node {
n.comments = c
return n
}

View File

@ -36,8 +36,8 @@ func (n ConstFetch) Comments() *[]comment.Comment {
return n.comments
}
func (n ConstFetch) SetComments(c []comment.Comment) node.Node {
n.comments = &c
func (n ConstFetch) SetComments(c *[]comment.Comment) node.Node {
n.comments = c
return n
}

View File

@ -36,8 +36,8 @@ func (n Empty) Comments() *[]comment.Comment {
return n.comments
}
func (n Empty) SetComments(c []comment.Comment) node.Node {
n.comments = &c
func (n Empty) SetComments(c *[]comment.Comment) node.Node {
n.comments = c
return n
}

View File

@ -36,8 +36,8 @@ func (n ErrorSuppress) Comments() *[]comment.Comment {
return n.comments
}
func (n ErrorSuppress) SetComments(c []comment.Comment) node.Node {
n.comments = &c
func (n ErrorSuppress) SetComments(c *[]comment.Comment) node.Node {
n.comments = c
return n
}

View File

@ -36,8 +36,8 @@ func (n Eval) Comments() *[]comment.Comment {
return n.comments
}
func (n Eval) SetComments(c []comment.Comment) node.Node {
n.comments = &c
func (n Eval) SetComments(c *[]comment.Comment) node.Node {
n.comments = c
return n
}

View File

@ -40,8 +40,8 @@ func (n Exit) Comments() *[]comment.Comment {
return n.comments
}
func (n Exit) SetComments(c []comment.Comment) node.Node {
n.comments = &c
func (n Exit) SetComments(c *[]comment.Comment) node.Node {
n.comments = c
return n
}

View File

@ -38,8 +38,8 @@ func (n FunctionCall) Comments() *[]comment.Comment {
return n.comments
}
func (n FunctionCall) SetComments(c []comment.Comment) node.Node {
n.comments = &c
func (n FunctionCall) SetComments(c *[]comment.Comment) node.Node {
n.comments = c
return n
}

View File

@ -36,8 +36,8 @@ func (n Include) Comments() *[]comment.Comment {
return n.comments
}
func (n Include) SetComments(c []comment.Comment) node.Node {
n.comments = &c
func (n Include) SetComments(c *[]comment.Comment) node.Node {
n.comments = c
return n
}

View File

@ -36,8 +36,8 @@ func (n IncludeOnce) Comments() *[]comment.Comment {
return n.comments
}
func (n IncludeOnce) SetComments(c []comment.Comment) node.Node {
n.comments = &c
func (n IncludeOnce) SetComments(c *[]comment.Comment) node.Node {
n.comments = c
return n
}

View File

@ -38,8 +38,8 @@ func (n InstanceOf) Comments() *[]comment.Comment {
return n.comments
}
func (n InstanceOf) SetComments(c []comment.Comment) node.Node {
n.comments = &c
func (n InstanceOf) SetComments(c *[]comment.Comment) node.Node {
n.comments = c
return n
}

View File

@ -36,8 +36,8 @@ func (n Isset) Comments() *[]comment.Comment {
return n.comments
}
func (n Isset) SetComments(c []comment.Comment) node.Node {
n.comments = &c
func (n Isset) SetComments(c *[]comment.Comment) node.Node {
n.comments = c
return n
}

View File

@ -36,8 +36,8 @@ func (n List) Comments() *[]comment.Comment {
return n.comments
}
func (n List) SetComments(c []comment.Comment) node.Node {
n.comments = &c
func (n List) SetComments(c *[]comment.Comment) node.Node {
n.comments = c
return n
}

View File

@ -40,8 +40,8 @@ func (n MethodCall) Comments() *[]comment.Comment {
return n.comments
}
func (n MethodCall) SetComments(c []comment.Comment) node.Node {
n.comments = &c
func (n MethodCall) SetComments(c *[]comment.Comment) node.Node {
n.comments = c
return n
}

View File

@ -38,8 +38,8 @@ func (n New) Comments() *[]comment.Comment {
return n.comments
}
func (n New) SetComments(c []comment.Comment) node.Node {
n.comments = &c
func (n New) SetComments(c *[]comment.Comment) node.Node {
n.comments = c
return n
}

View File

@ -36,8 +36,8 @@ func (n PostDec) Comments() *[]comment.Comment {
return n.comments
}
func (n PostDec) SetComments(c []comment.Comment) node.Node {
n.comments = &c
func (n PostDec) SetComments(c *[]comment.Comment) node.Node {
n.comments = c
return n
}

View File

@ -36,8 +36,8 @@ func (n PostInc) Comments() *[]comment.Comment {
return n.comments
}
func (n PostInc) SetComments(c []comment.Comment) node.Node {
n.comments = &c
func (n PostInc) SetComments(c *[]comment.Comment) node.Node {
n.comments = c
return n
}

View File

@ -36,8 +36,8 @@ func (n PreDec) Comments() *[]comment.Comment {
return n.comments
}
func (n PreDec) SetComments(c []comment.Comment) node.Node {
n.comments = &c
func (n PreDec) SetComments(c *[]comment.Comment) node.Node {
n.comments = c
return n
}

View File

@ -36,8 +36,8 @@ func (n PreInc) Comments() *[]comment.Comment {
return n.comments
}
func (n PreInc) SetComments(c []comment.Comment) node.Node {
n.comments = &c
func (n PreInc) SetComments(c *[]comment.Comment) node.Node {
n.comments = c
return n
}

View File

@ -36,8 +36,8 @@ func (n Print) Comments() *[]comment.Comment {
return n.comments
}
func (n Print) SetComments(c []comment.Comment) node.Node {
n.comments = &c
func (n Print) SetComments(c *[]comment.Comment) node.Node {
n.comments = c
return n
}

View File

@ -38,8 +38,8 @@ func (n PropertyFetch) Comments() *[]comment.Comment {
return n.comments
}
func (n PropertyFetch) SetComments(c []comment.Comment) node.Node {
n.comments = &c
func (n PropertyFetch) SetComments(c *[]comment.Comment) node.Node {
n.comments = c
return n
}

View File

@ -36,8 +36,8 @@ func (n Require) Comments() *[]comment.Comment {
return n.comments
}
func (n Require) SetComments(c []comment.Comment) node.Node {
n.comments = &c
func (n Require) SetComments(c *[]comment.Comment) node.Node {
n.comments = c
return n
}

View File

@ -36,8 +36,8 @@ func (n RequireOnce) Comments() *[]comment.Comment {
return n.comments
}
func (n RequireOnce) SetComments(c []comment.Comment) node.Node {
n.comments = &c
func (n RequireOnce) SetComments(c *[]comment.Comment) node.Node {
n.comments = c
return n
}

View File

@ -36,8 +36,8 @@ func (n ShellExec) Comments() *[]comment.Comment {
return n.comments
}
func (n ShellExec) SetComments(c []comment.Comment) node.Node {
n.comments = &c
func (n ShellExec) SetComments(c *[]comment.Comment) node.Node {
n.comments = c
return n
}

View File

@ -36,8 +36,8 @@ func (n ShortArray) Comments() *[]comment.Comment {
return n.comments
}
func (n ShortArray) SetComments(c []comment.Comment) node.Node {
n.comments = &c
func (n ShortArray) SetComments(c *[]comment.Comment) node.Node {
n.comments = c
return n
}

View File

@ -36,8 +36,8 @@ func (n ShortList) Comments() *[]comment.Comment {
return n.comments
}
func (n ShortList) SetComments(c []comment.Comment) node.Node {
n.comments = &c
func (n ShortList) SetComments(c *[]comment.Comment) node.Node {
n.comments = c
return n
}

View File

@ -40,8 +40,8 @@ func (n StaticCall) Comments() *[]comment.Comment {
return n.comments
}
func (n StaticCall) SetComments(c []comment.Comment) node.Node {
n.comments = &c
func (n StaticCall) SetComments(c *[]comment.Comment) node.Node {
n.comments = c
return n
}

View File

@ -38,8 +38,8 @@ func (n StaticPropertyFetch) Comments() *[]comment.Comment {
return n.comments
}
func (n StaticPropertyFetch) SetComments(c []comment.Comment) node.Node {
n.comments = &c
func (n StaticPropertyFetch) SetComments(c *[]comment.Comment) node.Node {
n.comments = c
return n
}

View File

@ -40,8 +40,8 @@ func (n Ternary) Comments() *[]comment.Comment {
return n.comments
}
func (n Ternary) SetComments(c []comment.Comment) node.Node {
n.comments = &c
func (n Ternary) SetComments(c *[]comment.Comment) node.Node {
n.comments = c
return n
}

View File

@ -36,8 +36,8 @@ func (n UnaryMinus) Comments() *[]comment.Comment {
return n.comments
}
func (n UnaryMinus) SetComments(c []comment.Comment) node.Node {
n.comments = &c
func (n UnaryMinus) SetComments(c *[]comment.Comment) node.Node {
n.comments = c
return n
}

View File

@ -36,8 +36,8 @@ func (n UnaryPlus) Comments() *[]comment.Comment {
return n.comments
}
func (n UnaryPlus) SetComments(c []comment.Comment) node.Node {
n.comments = &c
func (n UnaryPlus) SetComments(c *[]comment.Comment) node.Node {
n.comments = c
return n
}

View File

@ -36,8 +36,8 @@ func (n Variable) Comments() *[]comment.Comment {
return n.comments
}
func (n Variable) SetComments(c []comment.Comment) node.Node {
n.comments = &c
func (n Variable) SetComments(c *[]comment.Comment) node.Node {
n.comments = c
return n
}

View File

@ -38,8 +38,8 @@ func (n Yield) Comments() *[]comment.Comment {
return n.comments
}
func (n Yield) SetComments(c []comment.Comment) node.Node {
n.comments = &c
func (n Yield) SetComments(c *[]comment.Comment) node.Node {
n.comments = c
return n
}

View File

@ -36,8 +36,8 @@ func (n YieldFrom) Comments() *[]comment.Comment {
return n.comments
}
func (n YieldFrom) SetComments(c []comment.Comment) node.Node {
n.comments = &c
func (n YieldFrom) SetComments(c *[]comment.Comment) node.Node {
n.comments = c
return n
}

View File

@ -35,8 +35,8 @@ func (n Identifier) Comments() *[]comment.Comment {
return n.comments
}
func (n Identifier) SetComments(c []comment.Comment) Node {
n.comments = &c
func (n Identifier) SetComments(c *[]comment.Comment) Node {
n.comments = c
return n
}

View File

@ -36,8 +36,8 @@ func (n Name) Comments() *[]comment.Comment {
return n.comments
}
func (n Name) SetComments(c []comment.Comment) node.Node {
n.comments = &c
func (n Name) SetComments(c *[]comment.Comment) node.Node {
n.comments = c
return n
}

View File

@ -38,8 +38,8 @@ func (n NamePart) Comments() *[]comment.Comment {
return n.comments
}
func (n NamePart) SetComments(c []comment.Comment) node.Node {
n.comments = &c
func (n NamePart) SetComments(c *[]comment.Comment) node.Node {
n.comments = c
return n
}

View File

@ -12,7 +12,7 @@ type Node interface {
type Commenter interface {
Comments() *[]comment.Comment
SetComments([]comment.Comment) Node
SetComments(*[]comment.Comment) Node
}
type Positioner interface {

View File

@ -33,8 +33,8 @@ func (n Nullable) Comments() *[]comment.Comment {
return n.comments
}
func (n Nullable) SetComments(c []comment.Comment) Node {
n.comments = &c
func (n Nullable) SetComments(c *[]comment.Comment) Node {
n.comments = c
return n
}

View File

@ -44,8 +44,8 @@ func (n Parameter) Comments() *[]comment.Comment {
return n.comments
}
func (n Parameter) SetComments(c []comment.Comment) Node {
n.comments = &c
func (n Parameter) SetComments(c *[]comment.Comment) Node {
n.comments = c
return n
}

View File

@ -38,8 +38,8 @@ func (n Dnumber) Comments() *[]comment.Comment {
return n.comments
}
func (n Dnumber) SetComments(c []comment.Comment) node.Node {
n.comments = &c
func (n Dnumber) SetComments(c *[]comment.Comment) node.Node {
n.comments = c
return n
}

View File

@ -36,8 +36,8 @@ func (n Encapsed) Comments() *[]comment.Comment {
return n.comments
}
func (n Encapsed) SetComments(c []comment.Comment) node.Node {
n.comments = &c
func (n Encapsed) SetComments(c *[]comment.Comment) node.Node {
n.comments = c
return n
}

View File

@ -38,8 +38,8 @@ func (n EncapsedStringPart) Comments() *[]comment.Comment {
return n.comments
}
func (n EncapsedStringPart) SetComments(c []comment.Comment) node.Node {
n.comments = &c
func (n EncapsedStringPart) SetComments(c *[]comment.Comment) node.Node {
n.comments = c
return n
}

View File

@ -38,8 +38,8 @@ func (n Lnumber) Comments() *[]comment.Comment {
return n.comments
}
func (n Lnumber) SetComments(c []comment.Comment) node.Node {
n.comments = &c
func (n Lnumber) SetComments(c *[]comment.Comment) node.Node {
n.comments = c
return n
}

Some files were not shown because too many files have changed in this diff Show More