Reputation: 6109
What is the structure delineated by curly brackets in a pattern match expression. It seems to be neither a Block nor a Template.
Upvotes: 0
Views: 137
Reputation: 39577
Reflecting a bit on the question,
http://www.scala-lang.org/api/2.11.1/scala-reflect/#scala.reflect.api.Trees$MatchExtractor
the API also just calls them "cases".
The spec doesn't have a special name for it:
Maybe there is a more theoretical name for the patterns against which a match is performed.
Upvotes: 2