1
1
mirror of https://github.com/github/semantic.git synced 2024-12-01 09:15:01 +03:00
semantic/test/fixtures/go/select-statements.diffA-B.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))
{+(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)
(Receive
(Empty)
{ (Identifier)
->(Identifier) }))
([]))
(Pattern
(Receive
(Empty)
(Receive
(Empty)
(Identifier)))
([]))
{-(Pattern
{-(DefaultPattern
{-([])-})-}
{-([])-})-})))))