UNPKG

mathjslab

Version:

MathJSLab - An interpreter with language syntax like MATLAB®/Octave, ISBN 978-65-00-82338-7.

23 lines (22 loc) 1.04 kB
import { ComplexDecimal } from './ComplexDecimal'; import * as AST from './AST'; import { Evaluator } from './Evaluator'; declare class FunctionHandle { static readonly FUNCTION_HANDLE = 5; readonly type = 5; parent: any; id: string | null; commat: boolean; parameter: AST.NodeExpr[]; expression: AST.NodeExpr; constructor(id?: string | null, commat?: boolean, parameter?: AST.NodeExpr[] | null, expression?: AST.NodeExpr); static newThis(id?: string | null, commat?: boolean, parameter?: AST.NodeExpr[] | null, expression?: AST.NodeExpr): FunctionHandle; static unparse(fhandle: FunctionHandle, evaluator: Evaluator, parentPrecedence?: number): string; static unparseMathML(fhandle: FunctionHandle, evaluator: Evaluator, parentPrecedence?: number): string; static copy(fhandle: FunctionHandle): FunctionHandle; copy(): FunctionHandle; static toLogical(fhandle: FunctionHandle): ComplexDecimal; toLogical(): ComplexDecimal; } export { FunctionHandle }; export default FunctionHandle;