Lines Matching refs:Some
66 '\\' => if let Some(ch2) = self.next_char() { in parse_word()
75 if let Some(ch2) = self.next_char() { ch = ch2; } else { break; } in parse_word()
77 unsafe { Some(String::from_utf8_unchecked(result)) } in parse_word()
82 if let Some(ch2) = self.next_char() { in parse_double()
85 if let Some(ch3) = self.next_char() { in parse_double()
109 if let Some(ch2) = self.next_char() { in parse_single()
122 if res == Some('\n' as u8) { self.line_no += 1; } in next_char()
130 if let Some(mut ch) = self.next_char() { in next()
136 while let Some(ch2) = self.next_char() { in next()
142 if let Some(ch2) = self.next_char() { ch = ch2; } else { return None; } in next()
157 if shl.had_error { None } else { Some(res) } in split()
196 ("foo$baz", Some(&["foo$baz"])),
197 ("foo baz", Some(&["foo", "baz"])),
198 ("foo\"bar\"baz", Some(&["foobarbaz"])),
199 ("foo \"bar\"baz", Some(&["foo", "barbaz"])),
200 (" foo \nbar", Some(&["foo", "bar"])),
201 ("foo\\\nbar", Some(&["foobar"])),
202 ("\"foo\\\nbar\"", Some(&["foobar"])),
203 ("'baz\\$b'", Some(&["baz\\$b"])),
210 ("foo #bar\nbaz", Some(&["foo", "baz"])),
211 ("foo #bar", Some(&["foo"])),
212 ("foo#bar", Some(&["foo#bar"])),
214 ("'\\n'", Some(&["\\n"])),
215 ("'\\\\n'", Some(&["\\\\n"])),
228 while let Some(word) = sh.next() { in test_lineno()