1
1
mirror of https://github.com/github/semantic.git synced 2024-12-18 20:31:55 +03:00
semantic/test/fixtures/go/corpus/method-declarations.diffA-B.txt

127 lines
2.7 KiB
Plaintext

(Statements
(Package
(Identifier))
(Function
(Identifier)
(Statements))
(Method
(Statements
(Identifier))
{ (Identifier)
->(Identifier) }
(Empty))
(Method
(Identifier)
(Statements
(Identifier)
{ (Identifier)
->(Identifier) })
(Identifier)
(Statements
(Identifier)
{ (Identifier)
->(Identifier) })
(Statements))
(Method
(Identifier)
(Statements
(Identifier)
(Pointer
(Identifier)))
{ (Identifier)
->(Identifier) }
(Return
(Call
(MemberAccess
(Identifier)
(Identifier))
(Plus
{ (Times
{-(MemberAccess
{-(Identifier)-}
{-(Identifier)-})-}
{-(MemberAccess
{-(Identifier)-}
{-(Identifier)-})-})
->(Plus
{+(Plus
{+(Call
{+(MemberAccess
{+(Identifier)+}
{+(Identifier)+})+}
{+(Statements
{+(MemberAccess
{+(Identifier)+}
{+(Identifier)+})+}
{+(Integer)+})+}
{+(Empty)+})+}
{+(MemberAccess
{+(Identifier)+}
{+(Identifier)+})+})+}
{+(Call
{+(MemberAccess
{+(Identifier)+}
{+(Identifier)+})+}
{+(Statements
{+(MemberAccess
{+(Identifier)+}
{+(Identifier)+})+}
{+(Integer)+})+}
{+(Empty)+})+}) }
{ (Times
{-(MemberAccess
{-(Identifier)-}
{-(Identifier)-})-}
{-(MemberAccess
{-(Identifier)-}
{-(Identifier)-})-})
->(MemberAccess
{+(Identifier)+}
{+(Identifier)+}) })
(Empty))))
(Method
(Statements
(Assignment
(MemberAccess
(Identifier)
(Identifier))
(Times
(MemberAccess
(Identifier)
(Identifier))
(Identifier)))
(Assignment
(MemberAccess
(Identifier)
(Identifier))
(Times
(MemberAccess
(Identifier)
(Identifier))
(Identifier))))
(Statements
{ (Identifier)
->(Identifier) }
(Pointer
(Identifier)))
(Identifier)
(Statements
(Identifier)
{ (Identifier)
->(Identifier) })
(Empty))
(Method
(Identifier)
(Statements
(Identifier)
(Pointer
(Identifier)))
(Identifier)
(Statements
{ (Identifier)
->(Identifier) }
{ (Identifier)
->(Identifier) }
(Identifier))
(Statements)))