struct · System

StringIterator<T>

public struct System.StringIterator<T>

The code units of a string, in order.

Kind
struct
Namespace
System
Assembly
System.Core
Access
public
Source file
String.ant

Type parameters

NameConstraints
Tone of u8, u16, u32

Constructors

constructor StringIterator(text: System.String<T>)
#

Properties

property Current: T
#

read-only

Methods

method Next() -> bool
#

Private and internal members (2)

field text: System.String<T>
#

private

field index: i32
#

private

Source

StringIterator<T> as Larva HIR, decompiled from its Larva HIR.

System.StringIterator.hir
// The code units of a string, in order.
public struct System.StringIterator<T>
{
    field text: System.String<T>
    field index: i32
    constructor StringIterator(text: System.String<T>)
    method Next() -> bool
    property Current: T
}
Esc