UNPKG

calcium-lang

Version:
16 lines (15 loc) 392 B
import Command from "./command"; import { Expression } from "../expression"; import Environment from "../runtime/environment"; /** * the command of an expression statement */ export default class ExprStmt implements Command { readonly value: Expression; /** * * @param value an expression */ constructor(value: Expression); execute(env: Environment): void; }