1
1
mirror of https://github.com/github/semantic.git synced 2024-12-01 17:59:10 +03:00
semantic/test/fixtures/go/corpus/select-statements.diffA-B.txt
2018-08-13 11:29:01 -07:00

99 lines
2.5 KiB
Plaintext

(Statements
(Package
(Identifier))
(Function
(Identifier)
(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)-})-})))))