MCPcopy Create free account
hub / github.com/pest-parser/pest / float

Function float

pest/tests/json.rs:338–347  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

336
337#[test]
338fn float() {
339 parses_to! {
340 parser: JsonParser,
341 input: "100.001",
342 rule: Rule::number,
343 tokens: [
344 number(0, 7)
345 ]
346 };
347}
348
349#[test]
350fn float_with_exp() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…