tailr (version 0.1.2)

make_returns_explicit: Make exit points into explicit calls to return.

Description

Make exit points into explicit calls to return.

Usage

make_returns_explicit(expr, in_function_parameter, info)

Arguments

expr

An expression to transform

in_function_parameter

Is the expression part of a parameter to a function call?

info

Information passed along the transformations.

Value

A modified expression.