1
1
mirror of https://github.com/github/semantic.git synced 2024-12-27 17:05:33 +03:00
semantic/test/fixtures/go/corpus/select-statements.diffA-B.txt
2018-06-06 10:35:47 -04:00

101 lines
2.6 KiB
Plaintext

(Statements
(Package
(Identifier))
(Function
(Empty)
(Identifier)
(Statements)
(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))
{+(PostIncrement
{+(Identifier)+})+}
{+(If
{+(Statements
{+(Identifier)+})+}
{+(Statements
{+(Send
{+(Identifier)+}
{+(Composite
{+(Identifier)+}
{+(Statements
{+(Identifier)+}
{+(Identifier)+})+})+})+}
{+(Return
{+(Empty)+})+})+}
{+(Empty)+})+}
{-(PostDecrement
{-(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)-})-})))))