[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
@@ -6141,7 +6141,7 @@ func TestStmtFor_Alt(t *testing.T) {
},
},
Stmts: []ast.Vertex{
&ast.StmtAltFor{
&ast.StmtFor{
Node: ast.Node{
Position: &position.Position{
StartLine: 1,
@@ -6150,6 +6150,7 @@ func TestStmtFor_Alt(t *testing.T) {
EndPos: 33,
},
},
Alt: true,
Cond: []ast.Vertex{
&ast.ExprBinarySmaller{
Node: ast.Node{