public class Let extends Expression
let v = 1 in (v + 2)
is a let expression with variable v, declaration 1, and body v + 2. This
let expression evaluates to 3.Constructor and Description |
---|
Let(Variable variable,
Expression declaration,
Expression body)
Initializes this let expression with the given variable, declaration,
and body.
|
public Let(Variable variable, Expression declaration, Expression body)
variable
- the variable of this let expressiondeclaration
- the declaration of this let expressionbody
- the body of this let expression