1
1
mirror of https://github.com/github/semantic.git synced 2024-12-30 18:36:27 +03:00
semantic/test/fixtures/go/corpus/select-statements.diffB-A.txt
2019-09-17 16:05:01 -04:00

95 lines
2.5 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)-})-}))
(DefaultPattern
(Statements))))
(Select
(Statements
(Pattern
(Receive
(Empty)
(ReceiveOperator
{ (Identifier)
->(Identifier) }))
(Statements))
(Pattern
(Receive
(Empty)
(ReceiveOperator
(Identifier)))
(Statements))
{+(DefaultPattern
{+(Statements)+})+})))))