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

Method next_pos

core/src/reader.rs:119–121  ·  view source on GitHub ↗

Gets the current position of the read, which is the position that the next character will carry.

(&self)

Source from the content-addressed store, hash-verified

117 /// Gets the current position of the read, which is the position that the next character will
118 /// carry.
119 pub(crate) fn next_pos(&self) -> LineCol {
120 self.next_pos
121 }
122}
123
124impl Iterator for CharReader<'_> {

Callers 2

consume_rest_of_lineMethod · 0.80
readMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected