MCPcopy Index your code
hub / github.com/endbasic/endbasic / parse

Function parse

core/src/parser.rs:2036–2038  ·  view source on GitHub ↗

Extracts all statements from the input stream.

(input: &mut dyn io::Read)

Source from the content-addressed store, hash-verified

2034
2035/// Extracts all statements from the input stream.
2036pub(crate) fn parse(input: &mut dyn io::Read) -> StatementIter<'_> {
2037 StatementIter { parser: Parser::from(input) }
2038}
2039
2040#[cfg(test)]
2041mod tests {

Callers 15

newMethod · 0.85
do_ok_testFunction · 0.85
do_error_test_no_resetFunction · 0.85
compileFunction · 0.85
do_binary_double_opMethod · 0.85
do_binary_integer_opMethod · 0.85
do_binary_boolean_opMethod · 0.85
do_binary_text_opMethod · 0.85
parse_pin_modeFunction · 0.85
show_dirFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected