GNU
|
Liberty Eiffel
|
Automated Tests
|
Wiki
|
Savannah project
|
Debian packages
|
Documentation
>
libraries
>
COROUTINE
+
Point of view
All features
ANY
COROUTINE_ITERATOR
All features
deferred class COROUTINE [O_ ->
TUPLE
, Y_]
Summary
top
Direct parents
Insert list:
ANY
Overview
top
Features
{
ANY
}
item
(o: O_): ITERATOR[Y_]
{
COROUTINE_ITERATOR
}
invoke
(arguments: O_)
Define this routine, and call
yield
each time a value should be sent back to the caller.
set_iterator
(a_iterator: COROUTINE_ITERATOR[O_, Y_])
{}
iterator
: COROUTINE_ITERATOR[O_, Y_]
yield
(value: Y_)
item
(o: O_): ITERATOR[Y_]
effective function
{
ANY
}
top
invoke
(arguments: O_)
deferred procedure
{
COROUTINE_ITERATOR
}
top
Define this routine, and call
yield
each time a value should be sent back to the caller.
set_iterator
(a_iterator: COROUTINE_ITERATOR[O_, Y_])
effective procedure
{
COROUTINE_ITERATOR
}
top
ensure
iterator
= a_iterator
iterator
: COROUTINE_ITERATOR[O_, Y_]
writable attribute
{}
top
yield
(value: Y_)
frozen
effective procedure
{}
top