struct

KrikriJinja::LexerOptions

Inherits Struct < Value < Object

Lexer configuration, matching the documented environment options.

Constructors

new(block_start : String = "{%", block_end : String = "%}", var_start : String = "{{", var_end : String = "}}", comment_start : String = "{#", comment_end : String = "#}", trim_blocks : Bool = false, lstrip_blocks : Bool = false, keep_trailing_newline : Bool = false, verbatim_expression_strings : Bool = false)
Source

Instance methods

block_end
Source
block_end=(block_end : String)
Source
block_start
Source
block_start=(block_start : String)
Source
comment_end
Source
comment_end=(comment_end : String)
Source
comment_start
Source
comment_start=(comment_start : String)
Source
keep_trailing_newline
Source
keep_trailing_newline=(keep_trailing_newline : Bool)
Source
lstrip_blocks
Source
lstrip_blocks=(lstrip_blocks : Bool)
Source
trim_blocks
Source
trim_blocks=(trim_blocks : Bool)
Source
var_end
Source
var_end=(var_end : String)
Source
var_start
Source
var_start=(var_start : String)
Source
verbatim_expression_strings

Ansible's inline {{ }} templating doubles every backslash before Jinja decodes string literals, so a literal's text survives exactly as written. When set, string literals in {{ }} tags keep their escapes verbatim; {% %} tag literals still decode.

Source
verbatim_expression_strings=(verbatim_expression_strings : Bool)

Ansible's inline {{ }} templating doubles every backslash before Jinja decodes string literals, so a literal's text survives exactly as written. When set, string literals in {{ }} tags keep their escapes verbatim; {% %} tag literals still decode.

Source