1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 22:31:36 +03:00
semantic/test/fixtures/go/select-statements.diffA-B.txt
2017-11-30 16:28:04 -08:00

102 lines
2.5 KiB
Plaintext

(Program
(Module
(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
{-([])-})-}
{-([])-})-})))))