Sather Home Page

Section 6.7.4:
Return Statement

The return statement terminates the current execution of the method in which it occurs - returning a value if there is an associated expression. See also sub-section 6.7.9 (the Yield statement) for iter suspension. This is a built-in language method.

Concrete Syntax

return statement = Return_SY, [expression] ;

Abstract Syntax

Static Semantics

Dynamic Semantics


Specification Index Language Index Section 6 Index
Comments or enquiries should be made to Keith Hopper.
Page last modified: Wednesday, 25 April 2001.
Produced with Amaya