FunctionBase class

Implements the way to call a method by string

Implementers

Constructors

FunctionBase()

Properties

context Contexts
read / write
currentFileInfo FileInfo
read / write
index ↔ int
read / write
less TreeApi
read / write
name ↔ String
read / write
registry ↔ Map<String, FunctionRegistryItem>
Method registry: { 'externalName': {'name': internalName, 'listArguments': false} }
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

call(List<Node> args) → dynamic
Call the last valid name of method
init(Contexts context, int index, FileInfo currentFileInfo) → void
Config functions with the necessarry information for processing
isValid(String name) → bool
Check if name is a method name available
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited