Function parse_accessor

Source
pub fn parse_accessor(input: &str) -> IResult<&str, &str>
Expand description

Parse an accessor (dot notation) with optional whitespace.

This function parses the dot (.) operator used for field access and method calls, handling optional whitespace before and after the dot.

§Arguments

  • input - A string slice containing the accessor to parse

§Returns

  • IResult<&str, &str> - A nom result with remaining input and parsed accessor