strip_comments

Function strip_comments 

Source
fn strip_comments(input: &str) -> String
Expand description

Strip comments from a CQL fragment (used on extracted statements).

This function uses context-aware scanning to avoid stripping comment-like sequences inside string literals (PR #150 fix). Handles nested block comments.