MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / float_after

Function float_after

nodedb-sql/src/ddl_ast/graph_parse/helpers.rs:60–62  ·  view source on GitHub ↗
(toks: &[Tok<'_>], keyword: &str)

Source from the content-addressed store, hash-verified

58}
59
60pub(super) fn float_after(toks: &[Tok<'_>], keyword: &str) -> Option<f64> {
61 word_after(toks, keyword)?.parse().ok()
62}
63
64/// Extract the two consecutive float tokens that follow `keyword`.
65///

Callers 1

parse_algoFunction · 0.85

Calls 3

word_afterFunction · 0.85
okMethod · 0.45
parseMethod · 0.45

Tested by

no test coverage detected