1
1
mirror of https://github.com/github/semantic.git synced 2024-12-19 04:41:47 +03:00
semantic/test/fixtures/go/select-statements.diffA-B.txt
2018-03-26 11:09:22 -07:00

102 lines
2.5 KiB
Plaintext

(Program
(Package
(Identifier))
(Function
(Empty)
(Identifier)
([])
(
(Select
(
(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))))
(
(Call
(Identifier)
(Integer)
(Empty))
{+(PostIncrement
{+(Identifier)+})+}
{+(If
{+(
{+(Identifier)+})+}
{+(
{+(Send
{+(Identifier)+}
{+(Composite
{+(Identifier)+}
{+(
{+(Identifier)+}
{+(Identifier)+})+})+})+}
{+(Return
{+(Empty)+})+})+}
{+(Empty)+})+}
{-(PostDecrement
{-(Identifier)-})-}
{-(If
{-(
{-(Identifier)-})-}
{-(
{-(Send
{-(Identifier)-}
{-(Composite
{-(Identifier)-}
{-(
{-(Identifier)-}
{-(Identifier)-})-})-})-}
{-(Return
{-(Empty)-})-})-}
{-(Empty)-})-}))
(Pattern
(DefaultPattern
([]))
(Return
(Empty)))))
(Select
(
(Pattern
(Receive
(Empty)
(ReceiveOperator
{ (Identifier)
->(Identifier) }))
([]))
(Pattern
(Receive
(Empty)
(ReceiveOperator
(Identifier)))
([]))
{-(Pattern
{-(DefaultPattern
{-([])-})-}
{-([])-})-})))))