struct

Krikri::VarSubstitutor::TemplatedParamSite

Inherits Struct < Value < Object

Fiber-scoped stack of "the task param value this fiber is templating right now" - pushed by TaskExecutor exactly around the substitution of ONE param during module-arg finalization and popped in an ensure. The expression evaluator has no task context of its own, so when it renders an embedded {{ }} span inside a quoted lookup argument (rerender_double_templated_literal, lookup_dispatch.cr) it reads this to locate the warning's Origin the way ansible-core 2.19 inherits the templated value's origin onto its embedded constants. A stack, not a single value, for the same nesting reason as #enter_span_memo_scope: a param's own rendering can descend into further synthesized renders (a whole-args dict's per-leaf substitution) that would otherwise overwrite the outer param. Stores just the param's source position (not the Task object): the plugin binaries compile this templating engine without the playbook parser, so Task is not a type the whole program shares.

Constructors

new(source_file : String | Nil, source_line : Int32, key : String, text : String | Nil = nil, origin : String | Nil = nil)
Source

Instance methods

clone
Source
copy_with(source_file _source_file = @source_file, source_line _source_line = @source_line, key _key = @key, text _text = @text, origin _origin = @origin)
Source
key
origin
source_file
source_line
text