Lambda
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new Lambda( parameterNames, expression, outer?, parameterSymbols?): Lambda;Parameters
Section titled “Parameters”parameterNames
Section titled “parameterNames”string[]
expression
Section titled “expression”ASTRootNode
outer?
Section titled “outer?”LambdaBindings
parameterSymbols?
Section titled “parameterSymbols?”Map<string, LambdaParameterSymbol>
Returns
Section titled “Returns”Lambda
Properties
Section titled “Properties”boundArgs
Section titled “boundArgs”readonly boundArgs: Map<LambdaParameterSymbol, LambdaArg> | undefined;expression
Section titled “expression”readonly expression: ASTRootNode;ownParameterSymbols
Section titled “ownParameterSymbols”readonly ownParameterSymbols: DefaultMap<string, LambdaParameterSymbol>;parameterNames
Section titled “parameterNames”readonly parameterNames: string[];parameterSymbols
Section titled “parameterSymbols”readonly parameterSymbols: Map<string, LambdaParameterSymbol>;Accessors
Section titled “Accessors”numParams
Section titled “numParams”Get Signature
Section titled “Get Signature”get numParams(): number;Returns
Section titled “Returns”number
Methods
Section titled “Methods”call()
Section titled “call()”call(ctx, args): MaybeBoxedFormulaArgument;Parameters
Section titled “Parameters”Returns
Section titled “Returns”callWithAST()
Section titled “callWithAST()”callWithAST(ctx, args): MaybeBoxedFormulaArgument;Parameters
Section titled “Parameters”ASTNode[]
Returns
Section titled “Returns”toString()
Section titled “toString()”toString(): string;Returns
Section titled “Returns”string
withBoundArgs()
Section titled “withBoundArgs()”withBoundArgs(outer): Lambda;Parameters
Section titled “Parameters”LambdaBindings
Returns
Section titled “Returns”Lambda
fromAST()
Section titled “fromAST()”static fromAST(ast, outer?): Lambda;Parameters
Section titled “Parameters”ASTLambdaNode
outer?
Section titled “outer?”LambdaBindings
Returns
Section titled “Returns”Lambda