UNPKG

calcium-js

Version:
14 lines (13 loc) 434 B
import { Any } from './type'; export declare class Namespace { readonly parent?: Namespace | undefined; private dict; constructor(parent?: Namespace | undefined); lookUp(key: string): Any; register(key: string, value: Any): void; /** * the parent scope of a function or a method. * When this namespace is not a class scope, then returns this. */ get nestingScope(): Namespace | undefined; }