DefaultFunctionCollection class

Implements a list filled with standard functions.

Inheritance

Constructors

DefaultFunctionCollection()
Constructs this list and fills it with the standard functions.

Properties

hashCode int
The hash code for this object.
no setterinherited
length int
Gets a number of functions stored in the collection. Returns a number of stored functions.
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(IFunction? func) → void
Adds a new function to the collection.
inherited
checkParamCount(List<Variant> params, int expectedParamCount) → void
Checks if params contains the correct number of function parameters (must be stored on the top of the params).
clear() → void
Clears the collection.
inherited
findByName(String name) IFunction?
Finds function in the list by it's name.
inherited
findIndexByName(String name) int
Finds function index in the list by it's name.
inherited
get(int index) IFunction
Get a function by its index.
inherited
getAll() List<IFunction>
Get all functions stores in the collection Returns a list with functions.
inherited
getParameter(List<Variant> params, int paramIndex) Variant
Gets function parameter by it's index.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remove(int index) → void
Removes a function by its index.
inherited
removeByName(String name) → void
Removes function by it's name.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited