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

Method is_space

core/src/lexer.rs:223–227  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

221 }
222
223 fn is_space(&self) -> bool {
224 // TODO(jmmv): This is probably not correct regarding UTF-8 when comparing this function to
225 // the `is_whitespace` builtin. Figure out if that's true and what to do about it.
226 matches!(*self, ' ' | '\t' | '\r')
227 }
228
229 fn is_word(&self) -> bool {
230 match *self {

Callers 2

is_separatorMethod · 0.80
advance_and_read_nextMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected