1
1
mirror of https://github.com/github/semantic.git synced 2024-12-20 21:31:48 +03:00
semantic/test/fixtures/go/corpus/select-statements.diffB-A.txt
2018-08-13 11:29:01 -07:00

99 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))
{ (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)+})+})))))