1
1
mirror of https://github.com/github/semantic.git synced 2024-12-27 17:05:33 +03:00

Re-generate test with addition of statements in python assignment

This commit is contained in:
Timothy Clem 2018-11-05 13:12:50 -08:00
parent bdb7ee0430
commit e14f59b165
20 changed files with 281 additions and 214 deletions

View File

@ -3,20 +3,24 @@
{+(Identifier)+}
{+(Identifier)+}
{+(Identifier)+}
{+(Identifier)+})+}
{+(Statements
{+(Identifier)+})+})+}
(Function
(Identifier)
{ (Identifier)
->(Identifier) })
(Statements
{ (Identifier)
->(Identifier) }))
(Function
{ (Identifier)
->(Identifier) }
{ (Identifier)
->(Identifier) }
{-(Identifier)-}
{ (Identifier)
->(Identifier) })
(Statements
{ (Identifier)
->(Identifier) }))
{-(Function
{-(Identifier)-}
{-(Identifier)-}
{-(Identifier)-})-})
{-(Statements
{-(Identifier)-})-})-})

View File

@ -3,20 +3,24 @@
{-(Identifier)-}
{-(Identifier)-}
{-(Identifier)-}
{-(Identifier)-})-}
{-(Statements
{-(Identifier)-})-})-}
(Function
(Identifier)
{ (Identifier)
->(Identifier) })
(Statements
{ (Identifier)
->(Identifier) }))
(Function
{ (Identifier)
->(Identifier) }
{ (Identifier)
->(Identifier) }
{+(Identifier)+}
{ (Identifier)
->(Identifier) })
(Statements
{ (Identifier)
->(Identifier) }))
{+(Function
{+(Identifier)+}
{+(Identifier)+}
{+(Identifier)+})+})
{+(Statements
{+(Identifier)+})+})+})

View File

@ -1,13 +1,16 @@
(Statements
(Function
(Identifier)
(Identifier))
(Statements
(Identifier)))
(Function
(Identifier)
(Identifier)
(Identifier)
(Identifier))
(Statements
(Identifier)))
(Function
(Identifier)
(Identifier)
(Identifier)))
(Statements
(Identifier))))

View File

@ -3,11 +3,14 @@
(Identifier)
(Identifier)
(Identifier)
(Identifier))
(Statements
(Identifier)))
(Function
(Identifier)
(Identifier))
(Statements
(Identifier)))
(Function
(Identifier)
(Identifier)
(Identifier)))
(Statements
(Identifier))))

View File

@ -3,24 +3,29 @@
{ (Identifier)
->(Identifier) }
{+(Identifier)+}
(Function
{ (Identifier)
->(Identifier) }
(Identifier)
(Return
(Statements
(Function
{ (Identifier)
->(Empty) })))
->(Identifier) }
(Identifier)
(Statements
(Return
{ (Identifier)
->(Empty) })))))
{-(Class
{-(Identifier)-}
{-(NoOp
{-(Empty)-})-})-}
{-(Statements
{-(NoOp
{-(Empty)-})-})-})-}
(Class
(Identifier)
{-(Identifier)-}
(Function
{ (Identifier)
->(Identifier) }
(Identifier)
(Return
{ (Empty)
->(Identifier) }))))
(Statements
(Function
{ (Identifier)
->(Identifier) }
(Identifier)
(Statements
(Return
{ (Empty)
->(Identifier) }))))))

View File

@ -3,24 +3,29 @@
{ (Identifier)
->(Identifier) }
{-(Identifier)-}
(Function
{ (Identifier)
->(Identifier) }
(Identifier)
(Return
{ (Empty)
->(Identifier) })))
(Statements
(Function
{ (Identifier)
->(Identifier) }
(Identifier)
(Statements
(Return
{ (Empty)
->(Identifier) })))))
{+(Class
{+(Identifier)+}
{+(NoOp
{+(Empty)+})+})+}
{+(Statements
{+(NoOp
{+(Empty)+})+})+})+}
(Class
(Identifier)
{+(Identifier)+}
(Function
{ (Identifier)
->(Identifier) }
(Identifier)
(Return
(Statements
(Function
{ (Identifier)
->(Empty) }))))
->(Identifier) }
(Identifier)
(Statements
(Return
{ (Identifier)
->(Empty) }))))))

View File

@ -1,20 +1,25 @@
(Statements
(Class
(Identifier)
(Function
(Identifier)
(Identifier)
(Return
(Identifier))))
(Statements
(Function
(Identifier)
(Identifier)
(Statements
(Return
(Identifier))))))
(Class
(Identifier)
(NoOp
(Empty)))
(Statements
(NoOp
(Empty))))
(Class
(Identifier)
(Identifier)
(Function
(Identifier)
(Identifier)
(Return
(Empty)))))
(Statements
(Function
(Identifier)
(Identifier)
(Statements
(Return
(Empty)))))))

View File

@ -2,15 +2,19 @@
(Class
(Identifier)
(Identifier)
(Function
(Identifier)
(Identifier)
(Return
(Empty))))
(Statements
(Function
(Identifier)
(Identifier)
(Statements
(Return
(Empty))))))
(Class
(Identifier)
(Function
(Identifier)
(Identifier)
(Return
(Identifier)))))
(Statements
(Function
(Identifier)
(Identifier)
(Statements
(Return
(Identifier)))))))

View File

@ -4,51 +4,54 @@
(Class
{ (Identifier)
->(Identifier) }
(Decorator
(Identifier)
(Statements)
(Statements
(Decorator
{ (Identifier)
->(Identifier) }
{+(Identifier)+}
{-(Integer)-}
(Identifier)
(Statements)
(Decorator
{ (Identifier)
->(Identifier) }
{+(Identifier)+}
{-(Statements
{-(Integer)-}
{-(Integer)-})-}
{-(Integer)-}
(Decorator
(Identifier)
{+(Statements
{+(Integer)+}
{+(Assignment
{ (Identifier)
->(Identifier) }
{+(Identifier)+}
{-(Statements
{-(Integer)-}
{-(Integer)-})-}
(Decorator
(Identifier)
{+(Statements
{+(Integer)+}
{+(Assignment
{+(Identifier)+}
{+(Boolean)+})+}
{+(Identifier)+}
{+(Boolean)+})+}
{+(Identifier)+}
{+(Identifier)+})+}
{-(Assignment
{-(Identifier)-}
{-(Boolean)-})-}
{ (Decorator
{-(Identifier)-}
{-(Identifier)-}
{-(Decorator
{+(Identifier)+})+}
{-(Assignment
{-(Identifier)-}
{-(Boolean)-})-}
{ (Decorator
{-(Identifier)-}
{-(Identifier)-}
{-(Decorator
{-(Identifier)-}
{-(Statements
{-(Integer)-}
{-(Assignment
{-(Identifier)-}
{-(Decorator
{-(Identifier)-}
{-(Statements
{-(Integer)-}
{-(Assignment
{-(Identifier)-}
{-(Boolean)-})-}
{-(Identifier)-}
{-(Boolean)-})-}
{-(Identifier)-}
{-(Identifier)-})-}
{-(Function
{-(Identifier)-}
{-(Identifier)-})-})-})-})
->(Function
{+(Identifier)+}
{+(Identifier)+}) })))))))
{-(Identifier)-})-}
{-(Function
{-(Identifier)-}
{-(Statements
{-(Identifier)-})-})-})-})-})
->(Function
{+(Identifier)+}
{+(Statements
{+(Identifier)+})+}) }))))))))

View File

@ -4,51 +4,54 @@
(Class
{ (Identifier)
->(Identifier) }
(Decorator
(Identifier)
(Statements)
(Statements
(Decorator
{ (Identifier)
->(Identifier) }
{+(Integer)+}
{-(Identifier)-}
(Identifier)
(Statements)
(Decorator
{ (Identifier)
->(Identifier) }
{+(Statements
{+(Integer)+}
{+(Integer)+})+}
{+(Integer)+}
{-(Identifier)-}
(Decorator
(Identifier)
{+(Assignment
{+(Identifier)+}
{+(Boolean)+})+}
{-(Statements
{-(Integer)-}
{-(Assignment
{ (Identifier)
->(Identifier) }
{+(Statements
{+(Integer)+}
{+(Integer)+})+}
{-(Identifier)-}
(Decorator
(Identifier)
{+(Assignment
{+(Identifier)+}
{+(Boolean)+})+}
{-(Statements
{-(Integer)-}
{-(Assignment
{-(Identifier)-}
{-(Boolean)-})-}
{-(Identifier)-}
{-(Boolean)-})-}
{-(Identifier)-}
{-(Identifier)-})-}
{ (Function
{-(Identifier)-}
{-(Identifier)-})
->(Decorator
{+(Identifier)+}
{+(Identifier)+}
{+(Decorator
{-(Identifier)-})-}
{ (Function
{-(Identifier)-}
{-(Statements
{-(Identifier)-})-})
->(Decorator
{+(Identifier)+}
{+(Identifier)+}
{+(Decorator
{+(Identifier)+}
{+(Statements
{+(Integer)+}
{+(Assignment
{+(Identifier)+}
{+(Decorator
{+(Identifier)+}
{+(Statements
{+(Integer)+}
{+(Assignment
{+(Identifier)+}
{+(Boolean)+})+}
{+(Identifier)+}
{+(Boolean)+})+}
{+(Identifier)+}
{+(Identifier)+})+}
{+(Function
{+(Identifier)+}
{+(Identifier)+})+})+})+}) })))))))
{+(Identifier)+})+}
{+(Function
{+(Identifier)+}
{+(Statements
{+(Identifier)+})+})+})+})+}) }))))))))

View File

@ -3,37 +3,39 @@
(Identifier)
(Class
(Identifier)
(Decorator
(Identifier)
(Statements)
(Statements
(Decorator
(Identifier)
(Integer)
(Statements)
(Decorator
(Identifier)
(Statements
(Integer)
(Integer))
(Integer)
(Decorator
(Identifier)
(Assignment
(Identifier)
(Boolean))
(Statements
(Integer)
(Integer))
(Decorator
(Identifier)
(Identifier)
(Assignment
(Identifier)
(Boolean))
(Decorator
(Identifier)
(Identifier)
(Decorator
(Identifier)
(Statements
(Integer)
(Assignment
(Identifier)
(Decorator
(Identifier)
(Statements
(Integer)
(Assignment
(Identifier)
(Boolean))
(Identifier)
(Boolean))
(Identifier)
(Identifier))
(Function
(Identifier)
(Identifier))))))))))))
(Identifier))
(Function
(Identifier)
(Statements
(Identifier))))))))))))))

View File

@ -3,24 +3,26 @@
(Identifier)
(Class
(Identifier)
(Decorator
(Identifier)
(Statements)
(Statements
(Decorator
(Identifier)
(Identifier)
(Statements)
(Decorator
(Identifier)
(Identifier)
(Decorator
(Identifier)
(Statements
(Integer)
(Assignment
(Identifier)
(Decorator
(Identifier)
(Statements
(Integer)
(Assignment
(Identifier)
(Boolean))
(Identifier)
(Boolean))
(Identifier)
(Identifier))
(Function
(Identifier)
(Identifier)))))))))
(Identifier))
(Function
(Identifier)
(Statements
(Identifier)))))))))))

View File

@ -1,31 +1,36 @@
(Statements
{-(Function
{-(Identifier)-}
{-(Identifier)-})-}
{-(Statements
{-(Identifier)-})-})-}
{-(Function
{-(Identifier)-}
{-(Identifier)-}
{-(Identifier)-})-}
{-(Statements
{-(Identifier)-})-})-}
(Function
(Identifier)
{ (Identifier)
->(Identifier) }
{ (Identifier)
->(Identifier) }
{ (Identifier)
->(Identifier) })
(Statements
{ (Identifier)
->(Identifier) }))
(Function
{ (Identifier)
->(Identifier) }
{-(Assignment
{-(Identifier)-}
{-(Identifier)-})-}
{ (Identifier)
->(Identifier) })
(Statements
{ (Identifier)
->(Identifier) }))
{+(Function
{+(Identifier)+}
{+(Identifier)+}
{+(Identifier)+})+}
{+(Statements
{+(Identifier)+})+})+}
(Function
(Identifier)
(Annotation
@ -37,4 +42,5 @@
->(Identifier) })
{ (Identifier)
->(Identifier) }
(Identifier)))
(Statements
(Identifier))))

View File

@ -4,27 +4,31 @@
->(Identifier) }
{-(Identifier)-}
{-(Identifier)-}
{ (Identifier)
->(Identifier) })
(Statements
{ (Identifier)
->(Identifier) }))
(Function
(Identifier)
{+(Identifier)+}
{ (Identifier)
->(Identifier) })
(Statements
{ (Identifier)
->(Identifier) }))
(Function
{ (Identifier)
->(Identifier) }
{ (Identifier)
->(Identifier) }
{+(Identifier)+}
{ (Identifier)
->(Identifier) })
(Statements
{ (Identifier)
->(Identifier) }))
{+(Function
{+(Identifier)+}
{+(Assignment
{+(Identifier)+}
{+(Identifier)+})+}
{+(Identifier)+})+}
{+(Statements
{+(Identifier)+})+})+}
(Function
(Identifier)
(Annotation
@ -36,4 +40,5 @@
->(Identifier) })
{ (Identifier)
->(Identifier) }
(Identifier)))
(Statements
(Identifier))))

View File

@ -1,22 +1,26 @@
(Statements
(Function
(Identifier)
(Identifier))
(Statements
(Identifier)))
(Function
(Identifier)
(Identifier)
(Identifier))
(Statements
(Identifier)))
(Function
(Identifier)
(Identifier)
(Identifier)
(Identifier))
(Statements
(Identifier)))
(Function
(Identifier)
(Assignment
(Identifier)
(Identifier))
(Identifier))
(Statements
(Identifier)))
(Function
(Identifier)
(Annotation
@ -25,4 +29,5 @@
(TextElement))
(Identifier))
(Identifier)
(Identifier)))
(Statements
(Identifier))))

View File

@ -3,14 +3,17 @@
(Identifier)
(Identifier)
(Identifier)
(Identifier))
(Statements
(Identifier)))
(Function
(Identifier)
(Identifier))
(Statements
(Identifier)))
(Function
(Identifier)
(Identifier)
(Identifier))
(Statements
(Identifier)))
(Function
(Identifier)
(Annotation
@ -19,4 +22,5 @@
(Integer))
(Identifier))
(Identifier)
(Identifier)))
(Statements
(Identifier))))

View File

@ -2,7 +2,8 @@
(Function
(Empty)
{+(Identifier)+}
(Plus
{ (Integer)
->(Identifier) }
(Integer))))
(Statements
(Plus
{ (Integer)
->(Identifier) }
(Integer)))))

View File

@ -2,7 +2,8 @@
(Function
(Empty)
{-(Identifier)-}
(Plus
{ (Identifier)
->(Integer) }
(Integer))))
(Statements
(Plus
{ (Identifier)
->(Integer) }
(Integer)))))

View File

@ -1,6 +1,7 @@
(Statements
(Function
(Empty)
(Plus
(Integer)
(Integer))))
(Statements
(Plus
(Integer)
(Integer)))))

View File

@ -2,6 +2,7 @@
(Function
(Empty)
(Identifier)
(Plus
(Identifier)
(Integer))))
(Statements
(Plus
(Identifier)
(Integer)))))