[][src]Module dprint_core::parser_helpers

Functions

if_false
if_true
if_true_or
new_line_group
parse_raw_string

Parses a string as is and ignores its indent.

parse_string

Parses a string to a series of PrintItems.

surround_with_new_lines
surround_with_newlines_indented_if_multi_line

Surrounds the items with newlines and indentation if its on multiple lines. Note: This currently inserts a possible newline at the start, but that might change or be made conditional in the future.

with_indent
with_indent_times
with_no_new_lines