1
1
mirror of https://github.com/github/semantic.git synced 2024-12-27 00:44:57 +03:00
semantic/test/fixtures/go/corpus/select-statements.diffB-A.txt

100 lines
2.6 KiB
Plaintext

(Statements
(Package
(Identifier))
(Function
(Identifier)
(Statements
(Select
(Statements
(Pattern
(Receive
{ (Identifier)
->(Identifier) }
(ReceiveOperator
(Identifier)))
(Call
(Identifier)
(Identifier)
(Empty)))
(Pattern
(Send
{ (Identifier)
->(Identifier) }
(Identifier))
(Call
(Identifier)
(Integer)
(Empty)))
(Pattern
(Receive
(Empty)
(ReceiveOperator
(Call
(MemberAccess
(Identifier)
(Identifier))
{ (Integer)
->(Integer) }
(Empty))))
(Statements
(Call
(Identifier)
(Integer)
(Empty))
{+(PostDecrement
{+(Identifier)+})+}
{+(If
{+(Statements
{+(Identifier)+})+}
{+(Statements
{+(Send
{+(Identifier)+}
{+(Composite
{+(Identifier)+}
{+(Statements
{+(Identifier)+}
{+(Identifier)+})+})+})+}
{+(Return
{+(Empty)+})+})+}
{+(Empty)+})+}
{-(PostIncrement
{-(Identifier)-})-}
{-(If
{-(Statements
{-(Identifier)-})-}
{-(Statements
{-(Send
{-(Identifier)-}
{-(Composite
{-(Identifier)-}
{-(Statements
{-(Identifier)-}
{-(Identifier)-})-})-})-}
{-(Return
{-(Empty)-})-})-}
{-(Empty)-})-}))
(Pattern
(DefaultPattern
(Statements))
(Return
(Empty)))))
(Select
(Statements
(Pattern
(Receive
(Empty)
(ReceiveOperator
{ (Identifier)
->(Identifier) }))
(Statements))
(Pattern
(Receive
(Empty)
(ReceiveOperator
(Identifier)))
(Statements))
{+(Pattern
{+(DefaultPattern
{+(Statements)+})+}
{+(Statements)+})+})))))