UNPKG

calcium-lang

Version:
17 lines (16 loc) 489 B
import Command from "./command"; import Environment from "../runtime/environment"; /** * `class` statement */ export default class Class implements Command { readonly name: string; readonly superclassName?: string | undefined; /** * * @param name the name of the class * @param superclassName must be an dentifier that can be referred as a name */ constructor(name: string, superclassName?: string | undefined); execute(env: Environment): void; }