1
1
mirror of https://github.com/github/semantic.git synced 2024-11-28 18:23:44 +03:00
semantic/test/fixtures/go/select-statements.diffB-A.txt
2017-11-15 10:10:14 -08:00

106 lines
2.5 KiB
Plaintext

(Program
(Module
(Identifier))
(Function
(Empty)
(Identifier)
([])
(
(Select
(
(Pattern
(Receive
{ (Identifier)
->(Identifier) }
(Receive
(Empty)
(Identifier)))
(Call
(Identifier)
(Identifier)
(Empty)))
(Pattern
(Send
{ (Identifier)
->(Identifier) }
(Identifier))
(Call
(Identifier)
(Integer)
(Empty)))
(Pattern
(Receive
(Empty)
(Receive
(Empty)
(Call
(MemberAccess
(Identifier)
(Identifier))
{ (Integer)
->(Integer) }
(Empty))))
(
(Call
(Identifier)
(Integer)
(Empty))
{+(PostDecrement
{+(Identifier)+})+}
{+(If
{+(
{+(Identifier)+})+}
{+(
{+(Send
{+(Identifier)+}
{+(Composite
{+(Identifier)+}
{+(
{+(Identifier)+}
{+(Identifier)+})+})+})+}
{+(Return
{+(Empty)+})+})+}
{+(Empty)+})+}
{-(PostIncrement
{-(Identifier)-})-}
{-(If
{-(
{-(Identifier)-})-}
{-(
{-(Send
{-(Identifier)-}
{-(Composite
{-(Identifier)-}
{-(
{-(Identifier)-}
{-(Identifier)-})-})-})-}
{-(Return
{-(Empty)-})-})-}
{-(Empty)-})-}))
(Pattern
(DefaultPattern
([]))
(Return
(Empty)))))
(Select
(
(Pattern
(Receive
(Empty)
(Receive
(Empty)
{ (Identifier)
->(Identifier) }))
([]))
(Pattern
(Receive
(Empty)
(Receive
(Empty)
(Identifier)))
([]))
{+(Pattern
{+(DefaultPattern
{+([])+})+}
{+([])+})+})))))