KrikriJinja::LoopCallable
Inherits KrikriJinja::Callable < Reference < Object
Callable loop for recursive for-loops: {{ loop(item.children) }}
Constructors
new(items : Array(KrikriJinja::AnyValue), body : Array(Nodes::Node), ctx : Context, engine : Engine, targets : Array(TargetSpec), parent : Nil | KrikriJinja::LoopCallable = nil, depth : Int32 = 1, sink : IO = IO::Memory.new, undefined : Undefined = Undefined.new)
SourceInstance methods
depth
Sourceindex
Sourceitems
Sourcelast_changed
Sourcelast_changed=(last_changed : AnyValue | Nil)
Sourcelength
Sourceparent
Sourceparent=(parent : LoopCallable | Nil)
Sourcesink
Sourceto_ctx_hash
Sourceundefined
Sourceundefined=(undefined : Undefined)
Source