1
1
mirror of https://github.com/github/semantic.git synced 2024-12-20 21:31:48 +03:00
semantic/test/fixtures/go/corpus/method-declarations.diffB-A.txt
2018-06-01 11:44:03 -07:00

134 lines
2.8 KiB
Plaintext

(Statements
(Package
(Identifier))
(Function
(Empty)
(Identifier)
(Statements)
(Statements))
(Method
(Empty)
(Identifier)
{ (Identifier)
->(Identifier) }
(Statements)
(Empty))
(Method
(Statements
(Identifier))
(Statements
(Identifier)
{ (Identifier)
->(Identifier) })
(Identifier)
(Statements
(Identifier)
{ (Identifier)
->(Identifier) })
(Statements))
(Method
(Statements
(Identifier))
(Statements
(Identifier)
(Pointer
(Identifier)))
{ (Identifier)
->(Identifier) }
(Statements)
(Return
(Call
(MemberAccess
(Identifier)
(Identifier))
(Plus
{ (Plus
{-(Plus
{-(Call
{-(MemberAccess
{-(Identifier)-}
{-(Identifier)-})-}
{-(Statements
{-(MemberAccess
{-(Identifier)-}
{-(Identifier)-})-}
{-(Integer)-})-}
{-(Empty)-})-}
{-(MemberAccess
{-(Identifier)-}
{-(Identifier)-})-})-}
{-(Call
{-(MemberAccess
{-(Identifier)-}
{-(Identifier)-})-}
{-(Statements
{-(MemberAccess
{-(Identifier)-}
{-(Identifier)-})-}
{-(Integer)-})-}
{-(Empty)-})-})
->(Times
{+(MemberAccess
{+(Identifier)+}
{+(Identifier)+})+}
{+(MemberAccess
{+(Identifier)+}
{+(Identifier)+})+}) }
{ (MemberAccess
{-(Identifier)-}
{-(Identifier)-})
->(Times
{+(MemberAccess
{+(Identifier)+}
{+(Identifier)+})+}
{+(MemberAccess
{+(Identifier)+}
{+(Identifier)+})+}) })
(Empty))))
(Method
(Statements)
(Statements
{ (Identifier)
->(Identifier) }
(Pointer
(Identifier)))
(Identifier)
(Statements
(Identifier)
{ (Identifier)
->(Identifier) })
(Statements
(Assignment
(MemberAccess
(Identifier)
(Identifier))
(Times
(MemberAccess
(Identifier)
(Identifier))
(Identifier)))
(Assignment
(MemberAccess
(Identifier)
(Identifier))
(Times
(MemberAccess
(Identifier)
(Identifier))
(Identifier)))))
(Method
(Statements
(Identifier))
(Statements
(Identifier)
(Pointer
(Identifier)))
(Identifier)
(Statements
{ (Identifier)
->(Identifier) }
{ (Identifier)
->(Identifier) }
(Identifier))
(Statements)))