class Crinja::Tag::For::ConditionalIterator

Included Modules

Defined in:

lib/tag/for.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(iterator : Iterator(Value), condition : AST::ExpressionNode, env : Crinja, item_vars : Array(String)) #

[View source]

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.


[View source]