1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 22:31:36 +03:00
semantic/test/fixtures/go/method-declarations.diffA-B.txt
2017-12-19 14:04:48 -08:00

135 lines
2.6 KiB
Plaintext

(Program
(Module
(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
{ (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
([])
(
{ (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)))
([])))