calcium-lang
Version:
Calcium language interpreter
17 lines (16 loc) • 483 B
TypeScript
import Environment from "../runtime/environment";
import { InternalType } from "../type";
/**
* access to the attribute of an objecct
*/
export default class Attribute {
readonly varName: string;
readonly attrsName: string[];
/**
*
* @param varName the identifier of the first referred object
* @param attrsName each attribute's name
*/
constructor(varName: string, attrsName: string[]);
assign(rhs: InternalType, env: Environment): void;
}