ListFunctions class

Inheritance

Constructors

ListFunctions()

Properties

context Contexts
read / write, inherited
currentFileInfo FileInfo
read / write, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
index int
read / write, inherited
less TreeApi
read / write, inherited
name String
read / write, inherited
registry Map<String, FunctionRegistryItem>
Method registry: { 'externalName': {'name': internalName, 'listArguments': false} }
read / write, 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
inherited
each(Node list, Node rs) Node
Bind the evaluation of a ruleset to each member of a list. [...]
extract(Node values, Node index) Node
Returns the value at a specified position in a list. [...]
getItemsFromNode(Node node) List<Node>
init(Contexts context, int index, FileInfo currentFileInfo) → void
Config functions with the necessarry information for processing
inherited
isValid(String name) bool
Check if name is a method name available
inherited
length(Node values) Dimension
Returns the number of elements in a value list. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
range(Dimension start, [Dimension end, Dimension step]) Expression
Creates a Less list of incremental values. Modeled after Lodash's range function, also exists natively in PHP [...]
self(Node n) Node
Used in calc to wrap vars in a function call to cascade evaluate args first
@DefineMethod(name: 'self')
toString() String
Returns a string representation of this object.
inherited

Operators

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