MCPcopy Create free account
hub / github.com/adam-mcdaniel/reckon / parse_string_term

Function parse_string_term

src/parse.rs:230–233  ·  view source on GitHub ↗
(i: &str)

Source from the content-addressed store, hash-verified

228}
229
230fn parse_string_term(i: &str) -> IResult<&str, Term, Error> {
231 let (i, s) = parse_string(i)?;
232 Ok((i, Term::Str(s)))
233}
234
235/// Parse a variable token: starts with uppercase or underscore, followed by alphanums or `_`.
236/// Example: `X`, `User42`, `_foo`.

Callers

nothing calls this directly

Calls 1

parse_stringFunction · 0.85

Tested by

no test coverage detected