[refactoring] update ast structure of "ArrayDimFetch" and "ArrayItem" nodes

This commit is contained in:
Vadym Slizov
2020-12-01 00:42:45 +02:00
parent 47b974a3a4
commit 4b8d431767
7 changed files with 1732 additions and 1656 deletions

View File

@@ -620,11 +620,6 @@ func (v *Dump) ExprArrayItem(n *ast.ExprArrayItem) {
v.printIndentIfNotSingle(v.indent - 1)
v.print("&ast.ExprArrayItem{\n")
v.printNode(n.GetNode())
if n.Unpack {
v.printIndent(v.indent)
v.print("Unpack: true,\n")
}
}
func (v *Dump) ExprArrowFunction(n *ast.ExprArrowFunction) {