1
1
mirror of https://github.com/github/semantic.git synced 2024-11-29 02:44:36 +03:00
semantic/test/fixtures/go/method-declarations.diffA-B.txt
2017-11-09 16:21:36 -08:00

118 lines
2.4 KiB
Plaintext

(Program
(Module
(Identifier))
(Function
(Empty)
(Identifier)
([]))
(Method
(Identifier)
(
(Identifier)
{ (Identifier)
->(Identifier) })
(Identifier)
(Identifier)
{ (Identifier)
->(Identifier) }
([]))
(Method
(Identifier)
(
(Identifier)
(Pointer
(Identifier)))
{ (Identifier)
->(Identifier) }
(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)))))
(Method
(Identifier)
(
(Identifier)
(Pointer
(Identifier)))
(Identifier)
{ (Identifier)
->(Identifier) }
(
{ (Identifier)
->(Identifier) }
(Identifier))
([])))