[Next] [Previous] [Up] [Top] [Contents] [Index]

2.5 Statements and Expressions

2.5.10 Parenthetical Subexpressions

A parenthesized subexpression has the same syntax as the body of a method:

paren_expr	::=	"(" body ")"

Like the body of a method or a closure, a parenthetical subexpression introduces a new nested scope and may contain statements and local declarations.