IFunction

An interface for expression functions.

Description

The IFunction is an interface for expression functions.

Properties

name

Function’s name.

name(): str

  • retuns: str - function’s name.

Instance methods

calculate

Function calculation method.

calculate(params: List[Variant], variant_operations: IVariantOperations): Variant

  • params: List[Variant] - array with function parameters.
  • variantOperations: IVariantOperations - variants operations manager.
  • returns: Variant - returned function’s result.