[refactoring] update ast structure of "For" node

This commit is contained in:
Vadym Slizov
2020-09-04 11:37:17 +03:00
parent c274c4f92f
commit 0e73cd8852
21 changed files with 1041 additions and 1156 deletions
+2 -1
View File
@@ -4490,7 +4490,7 @@ func TestPhp5(t *testing.T) {
Stmts: []ast.Vertex{},
},
},
&ast.StmtAltFor{
&ast.StmtFor{
Node: ast.Node{
Position: &position.Position{
StartLine: 78,
@@ -4499,6 +4499,7 @@ func TestPhp5(t *testing.T) {
EndPos: 1685,
},
},
Alt: true,
Cond: []ast.Vertex{
&ast.ExprBinarySmaller{
Node: ast.Node{