/// Check whether the given character is considered a symbol in SystemVerilog.
Check whether the given character is considered a symbol in SystemVerilog.
Check whether the given character is considered a symbol in SystemVerilog .
fn is_symbol(c: char) -> bool {
    match c {
        '(' | ')' | '[' | ']' | '{' | '}' | '#' | ':' | ';' | '.' | ',' | '=' | '+' | '-' | '*'
        | '/' | '~' | '|' | '<' | '>' | '!' | '%' | '^' | '&' | '?' | '\'' | '"' | '`' | '$'
        | '\\' | '@' => true,
        //'_' => true,
        _ => false,
    }
}
fn is_symbol ( c : char ) -> bool { match c { '(' | ')' | '[' | ']' | '{' | '}' | '#' | ':' | ';' | '.' | ',' | '=' | '+' | '-' | '*' | '/' | '~' | '|' | '<' | '>' | '!' | '%' | '^' | '&' | '?' | '\'' | '"' | '`' | '$' | '\\' | '@' => true , //'_' => true, _ => false , } }
Check whether the given character is considered a symbol in SystemVerilog.
Check whether the given character is considered a symbol in SystemVerilog .
c
char