1
1
mirror of https://github.com/github/semantic.git synced 2024-12-25 07:55:12 +03:00

Fix a few test fixtures due to structure changes

This commit is contained in:
Timothy Clem 2018-09-10 11:15:34 -07:00
parent 8d4eab66b9
commit ceed3b0ae4
4 changed files with 149 additions and 102 deletions

View File

@ -4,36 +4,49 @@
(Function
(Identifier)
(Statements
(Slice
(Identifier)
{ (Integer)
->(Integer) }
(Empty)
(Empty))
(Slice
(Identifier)
(Empty)
{ (Integer)
->(Integer) }
(Empty))
(Slice
(Identifier)
{ (Empty)
->(Integer) }
{ (Empty)
->(Integer) }
(Empty))
(Slice
(Identifier)
{ (Integer)
->(Integer) }
{ (Integer)
->(Integer) }
{ (Integer)
->(Integer) })
{+(Slice
{+(Identifier)+}
{+(Integer)+}
{+(Empty)+}
{+(Empty)+})+}
{+(Slice
{+(Identifier)+}
{+(Empty)+}
{+(Integer)+}
{+(Empty)+})+}
{+(Slice
{+(Identifier)+}
{+(Integer)+}
{+(Integer)+}
{+(Empty)+})+}
(Slice
{ (Identifier)
->(Identifier) }
(Integer)
(Integer)
(Empty)))))
{ (Empty)
->(Integer) }
{ (Empty)
->(Integer) })
(Slice
{ (Identifier)
->(Identifier) }
{ (Empty)
->(Integer) }
{ (Integer)
->(Integer) }
(Empty))
{-(Slice
{-(Identifier)-}
{-(Empty)-}
{-(Empty)-}
{-(Empty)-})-}
{-(Slice
{-(Identifier)-}
{-(Integer)-}
{-(Integer)-}
{-(Integer)-})-}
{-(Slice
{-(Identifier)-}
{-(Integer)-}
{-(Integer)-}
{-(Empty)-})-})))

View File

@ -4,36 +4,50 @@
(Function
(Identifier)
(Statements
(Slice
(Identifier)
{ (Integer)
->(Integer) }
(Empty)
(Empty))
(Slice
(Identifier)
(Empty)
{ (Integer)
->(Integer) }
(Empty))
(Slice
(Identifier)
{ (Integer)
->(Empty) }
{ (Integer)
->(Empty) }
(Empty))
(Slice
(Identifier)
{ (Integer)
->(Integer) }
{ (Integer)
->(Integer) }
{ (Integer)
->(Integer) })
{+(Slice
{+(Identifier)+}
{+(Integer)+}
{+(Empty)+}
{+(Empty)+})+}
{+(Slice
{+(Identifier)+}
{+(Empty)+}
{+(Integer)+}
{+(Empty)+})+}
{+(Slice
{+(Identifier)+}
{+(Empty)+}
{+(Empty)+}
{+(Empty)+})+}
{+(Slice
{+(Identifier)+}
{+(Integer)+}
{+(Integer)+}
{+(Integer)+})+}
(Slice
{ (Identifier)
->(Identifier) }
(Integer)
(Integer)
(Empty)))))
{ (Empty)
->(Integer) }
(Empty))
{-(Slice
{-(Identifier)-}
{-(Empty)-}
{-(Integer)-}
{-(Empty)-})-}
{-(Slice
{-(Identifier)-}
{-(Integer)-}
{-(Integer)-}
{-(Empty)-})-}
{-(Slice
{-(Identifier)-}
{-(Integer)-}
{-(Integer)-}
{-(Integer)-})-}
{-(Slice
{-(Identifier)-}
{-(Integer)-}
{-(Integer)-}
{-(Empty)-})-})))

View File

@ -6,25 +6,35 @@
(Statements
{ (Identifier)
->(Identifier) }
(Negate
{ (Identifier)
->(Identifier) })
(Not
(ReceiveOperator
{ (Identifier)
->(Identifier) }))
(Pointer
(Call
{ (Identifier)
->(Identifier) }
(Statements)
(Empty)))
(Complement
{ (Identifier)
->(Identifier) })
(Reference
{ (Identifier)
->(Identifier) })
(ReceiveOperator
{ (Identifier)
->(Identifier) }))))
{+(Negate
{+(Identifier)+})+}
{+(Not
{+(ReceiveOperator
{+(Identifier)+})+})+}
{+(Pointer
{+(Call
{+(Identifier)+}
{+(Statements)+}
{+(Empty)+})+})+}
{+(Complement
{+(Identifier)+})+}
{+(Reference
{+(Identifier)+})+}
{+(ReceiveOperator
{+(Identifier)+})+}
{-(Negate
{-(Identifier)-})-}
{-(Not
{-(ReceiveOperator
{-(Identifier)-})-})-}
{-(Pointer
{-(Call
{-(Identifier)-}
{-(Statements)-}
{-(Empty)-})-})-}
{-(Complement
{-(Identifier)-})-}
{-(Reference
{-(Identifier)-})-}
{-(ReceiveOperator
{-(Identifier)-})-})))

View File

@ -6,25 +6,35 @@
(Statements
{ (Identifier)
->(Identifier) }
(Negate
{ (Identifier)
->(Identifier) })
(Not
(ReceiveOperator
{ (Identifier)
->(Identifier) }))
(Pointer
(Call
{ (Identifier)
->(Identifier) }
(Statements)
(Empty)))
(Complement
{ (Identifier)
->(Identifier) })
(Reference
{ (Identifier)
->(Identifier) })
(ReceiveOperator
{ (Identifier)
->(Identifier) }))))
{+(Negate
{+(Identifier)+})+}
{+(Not
{+(ReceiveOperator
{+(Identifier)+})+})+}
{+(Pointer
{+(Call
{+(Identifier)+}
{+(Statements)+}
{+(Empty)+})+})+}
{+(Complement
{+(Identifier)+})+}
{+(Reference
{+(Identifier)+})+}
{+(ReceiveOperator
{+(Identifier)+})+}
{-(Negate
{-(Identifier)-})-}
{-(Not
{-(ReceiveOperator
{-(Identifier)-})-})-}
{-(Pointer
{-(Call
{-(Identifier)-}
{-(Statements)-}
{-(Empty)-})-})-}
{-(Complement
{-(Identifier)-})-}
{-(Reference
{-(Identifier)-})-}
{-(ReceiveOperator
{-(Identifier)-})-})))