1
1
mirror of https://github.com/github/semantic.git synced 2024-11-28 18:23:44 +03:00
semantic/test/fixtures/go/method-declarations.diffA-B.txt
2017-11-07 16:28:17 -08:00

105 lines
2.2 KiB
Plaintext

(Program
(Module
(Identifier))
(Function
(Empty)
(Identifier)
([]))
(Method
(Identifier)
(
(Identifier)
{ (Identifier)
->(Identifier) })
(Identifier)
(Identifier)
{ (Identifier)
->(Identifier) }
([]))
(Method
(Identifier)
(
(Identifier)
(Pointer
(Identifier)))
{ (Identifier)
->(Identifier) }
(Empty)
(Return
(Call
(MemberAccess
(Identifier)
(Identifier))
(Plus
{ (Times
{-(MemberAccess
{-(Identifier)-}
{-(Identifier)-})-}
{-(MemberAccess
{-(Identifier)-}
{-(Identifier)-})-})
->(Plus
{+(Plus
{+(Call
{+(MemberAccess
{+(Identifier)+}
{+(Identifier)+})+}
{+(MemberAccess
{+(Identifier)+}
{+(Identifier)+})+}
{+(Integer)+}
{+(Empty)+})+}
{+(MemberAccess
{+(Identifier)+}
{+(Identifier)+})+})+}
{+(Call
{+(MemberAccess
{+(Identifier)+}
{+(Identifier)+})+}
{+(MemberAccess
{+(Identifier)+}
{+(Identifier)+})+}
{+(Integer)+}
{+(Empty)+})+}) }
{ (Times
{-(MemberAccess
{-(Identifier)-}
{-(Identifier)-})-}
{-(MemberAccess
{-(Identifier)-}
{-(Identifier)-})-})
->(MemberAccess
{+(Identifier)+}
{+(Identifier)+}) })
(Empty))))
(Method
(Empty)
(
{ (Identifier)
->(Identifier) }
(Pointer
(Identifier)))
(Identifier)
(Identifier)
{ (Identifier)
->(Identifier) }
(
(Assignment
(MemberAccess
(Identifier)
(Identifier))
(Times
(MemberAccess
(Identifier)
(Identifier))
(Identifier)))
(Assignment
(MemberAccess
(Identifier)
(Identifier))
(Times
(MemberAccess
(Identifier)
(Identifier))
(Identifier))))))