Skip to main content

attribute_lines

Function attribute_lines 

Source
pub fn attribute_lines(
    unstamped_container: bool,
    sender: &dyn Fn(&str) -> WriterRuntime,
    lines: &mut [String],
)
Expand description

Marks, in each of lines (already vetted), the messages whose words a container may have written (amx.writer.runtime = "container", with attributed: true). sender gives the runtime of the agent a message names as its sender. A line that is not one of those is left as it is.