calcium-js
Version:
Calcium runtime on JavaScript
14 lines (13 loc) • 434 B
TypeScript
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;
}