UNPKG

calcium-lang

Version:
14 lines (13 loc) 380 B
import { InternalType, RawType } from "../type"; import { Expression } from "./index"; /** * use a unary operator and calculate */ export default class UnaryOperation { readonly operator: string; readonly operand: Expression; static table: { [key: string]: (operand: RawType) => InternalType; }; constructor(operator: string, operand: Expression); }