Skip to main content

Statement as Expression

rascal-0.28.2

Synopsis

Some statements that have a value and can be used as expressions.

Description

Several forms of statements produce a value and can be used as expression. This is further explained in the sections for the relevant statements, see If, While, Do, For, and Visit.

Pitfalls

  • It is likely that the design of Rascal will evolve into completely merging expressions and statements.