Parse variable reference: identifier (bound in MATCH/LET clauses)
(tokens: &[Token])
| 2330 | |
| 2331 | /// Parse variable reference: identifier (bound in MATCH/LET clauses) |
| 2332 | fn variable(tokens: &[Token]) -> IResult<&[Token], Variable> { |
| 2333 | map(identifier, |name| Variable { |
| 2334 | name, |
| 2335 | location: Location::default(), |
| 2336 | })(tokens) |
| 2337 | } |
| 2338 | |
| 2339 | /// Parse property access token: object.property |
| 2340 | fn property_access_token(tokens: &[Token]) -> IResult<&[Token], PropertyAccess> { |
nothing calls this directly
no outgoing calls
no test coverage detected