UNPKG

calcium-lang

Version:
12 lines (11 loc) 364 B
import Command from "./command"; import Environment from "../runtime/environment"; import { Expression } from "../expression"; /** * return an expression, if any (default `None`) */ export default class Return implements Command { readonly expr?: Expression | undefined; constructor(expr?: Expression | undefined); execute(env: Environment): void; }