Skip to main content

in_http_param_name_position

Function in_http_param_name_position 

Source
pub fn in_http_param_name_position(text: &str, offset: usize) -> bool
Expand description

#2854: the cursor is at a parameter-name position in the parameter list of an on <METHOD>("…") ( … ) HTTP handler header: the innermost open paren follows the route’s closing ), itself opened by an HTTP method after on, and the current parameter (since the last ,) has no : yet.