1
1
mirror of https://github.com/github/semantic.git synced 2024-12-21 05:41:54 +03:00
semantic/test/fixtures/go/corpus/method-declarations.diffB-A.txt
2018-04-18 13:33:17 -07:00

134 lines
2.6 KiB
Plaintext

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