1
1
mirror of https://github.com/github/semantic.git synced 2024-12-27 17:05:33 +03:00
semantic/test/fixtures/go/corpus/method-declarations.diffA-B.txt
2018-06-06 10:35:47 -04:00

119 lines
2.4 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))
(Plus
{ (Times
{-(MemberAccess
{-(Identifier)-})-}
{-(MemberAccess
{-(Identifier)-})-})
->(Plus
{+(Plus
{+(Call
{+(MemberAccess
{+(Identifier)+})+}
{+(Statements
{+(MemberAccess
{+(Identifier)+})+}
{+(Integer)+})+}
{+(Empty)+})+}
{+(MemberAccess
{+(Identifier)+})+})+}
{+(Call
{+(MemberAccess
{+(Identifier)+})+}
{+(Statements
{+(MemberAccess
{+(Identifier)+})+}
{+(Integer)+})+}
{+(Empty)+})+}) }
{ (Times
{-(MemberAccess
{-(Identifier)-})-}
{-(MemberAccess
{-(Identifier)-})-})
->(MemberAccess
{+(Identifier)+}) })
(Empty))))
(Method
(Statements)
(Statements
{ (Identifier)
->(Identifier) }
(Pointer
(Identifier)))
(Identifier)
(Statements
(Identifier)
{ (Identifier)
->(Identifier) })
(Statements
(Assignment
(MemberAccess
(Identifier))
(Times
(MemberAccess
(Identifier))
(Identifier)))
(Assignment
(MemberAccess
(Identifier))
(Times
(MemberAccess
(Identifier))
(Identifier)))))
(Method
(Statements
(Identifier))
(Statements
(Identifier)
(Pointer
(Identifier)))
(Identifier)
(Statements
{ (Identifier)
->(Identifier) }
{ (Identifier)
->(Identifier) }
(Identifier))
(Statements)))