Module util

Source

Traits§

ToStaticTextType

Functions§

has_unmatched_pair
matching_bracket_general
If the given character is a parenthesis, returns its matching bracket
matching_char
matching_pair_direction
If the character is an opening bracket return Some(true), if closing, return Some(false)
str_is_pair_left
str_matching_pair