Home Manual Reference Source Test Repository

References

Class Summary

Static Public Class Summary
public

Class that wraps a callable with a stream.

Function Summary

Static Public Function Summary
public

chain(stream: Stream): *

Converts a stream of streams of tokens to a stream of tokens.

public

csv(stream: Stream): *

Converts a stream of comma separated values to a stream of values.

public

exhaust(stream: Stream)

Exhausts a stream.

public

ignore(stream: Stream, toignore: Iterable): *

Filters a stream by ignoring a given set of tokens.

public

integer(stream: Stream): *

Converts as many tokens as possible into an integer.

public

map(callable: Callable, stream: Stream): *

Applies a callable to each token of a stream.

public

skip(stream: Stream, toskip: Iterable): *

Outputs the next token of a stream that is not contained in a given toskip set.

public

split(stream: Stream, sep: Iterable): *

Splits a stream into a stream of streams according to some set of separators.

public

* toiterable(stream: Stream)

Converts a stream to an iterable.

public

tsv(stream: Stream): *

Converts a stream of tab separated values to a stream of values.

Static Private Function Summary
private

* _split(stream: *, sep: *)

Variable Summary

Static Public Variable Summary
public

fromarray(_array: Array): *

Converts an array to a stream.

public

fromcallable(_callable: Callable): *

Converts a callable to a stream.

public

fromiterable(_iterable: Iterable): *

Converts an iterable to a stream.

public

fromiterator(_iterator: Iterator): *

Converts an iterator to a stream.

public

fromstring(_string: String): *

Converts a string to a stream.

public
public

toarray(stream: Stream): *

Converts a stream to an array.

public

toiterator(stream: Stream): *

Converts a stream to an iterator.

public

tostring(stream: Stream): *

Converts a stream to a string.