Parse property pair: key: value Supports regular identifiers, backtick-delimited identifiers, and keywords
(tokens: &[Token])
| 1367 | /// Parse property pair: key: value |
| 1368 | /// Supports regular identifiers, backtick-delimited identifiers, and keywords |
| 1369 | fn property_pair(tokens: &[Token]) -> IResult<&[Token], Property> { |
| 1370 | map( |
| 1371 | tuple((identifier_or_quoted, expect_token(Token::Colon), expression)), |
| 1372 | |(key, _, value)| Property { |
| 1373 | key, |
| 1374 | value, |
| 1375 | location: Location::default(), |
| 1376 | }, |
| 1377 | )(tokens) |
| 1378 | } |
| 1379 | |
| 1380 | /// Parse WHERE clause |
| 1381 | fn where_clause(tokens: &[Token]) -> IResult<&[Token], WhereClause> { |
nothing calls this directly
no test coverage detected