class Crinja::Tag::For::ConditionalIterator
- Crinja::Tag::For::ConditionalIterator
- Reference
- Object
Included Modules
- Iterator(Crinja::Value)
- Iterator::IteratorWrapper
Defined in:
lib/tag/for.crConstructors
Instance Method Summary
-
#next
Returns the next element in this iterator, or
Iterator::Stop::INSTANCE
if there are no more elements.
Constructor Detail
def self.new(iterator : Iterator(Value), condition : AST::ExpressionNode, env : Crinja, item_vars : Array(String))
#
Instance Method Detail
def next
#
Description copied from module Iterator(Crinja::Value)
Returns the next element in this iterator, or Iterator::Stop::INSTANCE
if there
are no more elements.