1
1
mirror of https://github.com/github/semantic.git synced 2024-12-21 13:51:44 +03:00
semantic/test/fixtures/go/corpus/method-declarations.diffA-B.txt
2018-08-10 14:33:39 -07:00

117 lines
2.3 KiB
Plaintext

(Statements
(Package
(Identifier))
(Function
(Empty)
(Identifier)
(Statements)
(Statements))
(Method
(Empty)
(Statements
(Identifier))
{ (Identifier)
->(Identifier) }
(Statements)
(Empty))
(Method
(Identifier)
(Statements
(Identifier)
{ (Identifier)
->(Identifier) })
(Identifier)
(Statements
(Identifier)
{ (Identifier)
->(Identifier) })
(Statements))
(Method
(Identifier)
(Statements
(Identifier)
(Pointer
(Identifier)))
{ (Identifier)
->(Identifier) }
(Statements)
(Return
(Call
(MemberAccess
(Identifier))
(Plus
{ (Times
{-(MemberAccess
{-(Identifier)-})-}
{-(MemberAccess
{-(Identifier)-})-})
->(Plus
{+(Plus
{+(Call
{+(MemberAccess
{+(Identifier)+})+}
{+(Statements
{+(MemberAccess
{+(Identifier)+})+}
{+(Integer)+})+}
{+(Empty)+})+}
{+(MemberAccess
{+(Identifier)+})+})+}
{+(Call
{+(MemberAccess
{+(Identifier)+})+}
{+(Statements
{+(MemberAccess
{+(Identifier)+})+}
{+(Integer)+})+}
{+(Empty)+})+}) }
{ (Times
{-(MemberAccess
{-(Identifier)-})-}
{-(MemberAccess
{-(Identifier)-})-})
->(MemberAccess
{+(Identifier)+}) })
(Empty))))
(Method
(Statements
(Assignment
(MemberAccess
(Identifier))
(Times
(MemberAccess
(Identifier))
(Identifier)))
(Assignment
(MemberAccess
(Identifier))
(Times
(MemberAccess
(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)))