Index class

Returns the index under which the node referenced by the argument is found in the parent array. If the parent is not an array, returns Nothing. If the argument does not reference a single node, returns Nothing.

Implemented types

Constructors

Index()
const

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
Function name.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

call(SingularNodeList nodes) Maybe
Applies the given arguments. This method MUST throw an Exception on invalid args.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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