RuneIterator class - dart:core library (original) (raw)
Iterator for reading runes (integer Unicode code points) of a Dart string.
Implemented types
Constructors
RuneIterator(String string)
Create an iterator positioned at the beginning of the string.
RuneIterator.at(String string, int index)
Create an iterator positioned before the index
th code unit of the string.
Properties
The rune (integer Unicode code point) starting at the current position in the string.
no setteroverride
A string containing the current rune.
no setter
The number of code units comprising the current rune.
no setter
The hash code for this object.
no setterinherited
The starting position of the current rune in the string.
getter/setter pair
A representation of the runtime type of the object.
no setterinherited
String being iterated.
final
Methods
Move to the next code point.
override
movePrevious()→ bool
Move back to the previous code point.
noSuchMethod(Invocation invocation)→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reset([int rawIndex = 0])→ void
Resets the iterator to the given index into the string.
A string representation of this object.
inherited
Operators
operator ==(Object other)→ bool
The equality operator.
inherited