You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
debug!("taking an ident from {:?} to {:?}", start, end);
395
393
self.with_str_from_to(start, end,Symbol::intern)
396
394
}
@@ -454,7 +452,7 @@ impl<'a> StringReader<'a> {
454
452
455
453
/// Advance the StringReader by one character. If a newline is
456
454
/// discovered, add it to the FileMap's list of line start offsets.
457
-
pubfnbump(&mutself){
455
+
cratefnbump(&mutself){
458
456
let next_src_index = self.src_index(self.next_pos);
459
457
if next_src_index < self.end_src_index{
460
458
let next_ch = char_at(&self.src, next_src_index);
@@ -481,7 +479,7 @@ impl<'a> StringReader<'a> {
481
479
}
482
480
}
483
481
484
-
pubfnnextch(&self) -> Option<char>{
482
+
fnnextch(&self) -> Option<char>{
485
483
let next_src_index = self.src_index(self.next_pos);
486
484
if next_src_index < self.end_src_index{
487
485
Some(char_at(&self.src, next_src_index))
@@ -490,11 +488,11 @@ impl<'a> StringReader<'a> {
490
488
}
491
489
}
492
490
493
-
pubfnnextch_is(&self,c:char) -> bool{
491
+
fnnextch_is(&self,c:char) -> bool{
494
492
self.nextch() == Some(c)
495
493
}
496
494
497
-
pubfnnextnextch(&self) -> Option<char>{
495
+
fnnextnextch(&self) -> Option<char>{
498
496
let next_src_index = self.src_index(self.next_pos);
499
497
if next_src_index < self.end_src_index{
500
498
let next_next_src_index =
@@ -506,7 +504,7 @@ impl<'a> StringReader<'a> {
506
504
None
507
505
}
508
506
509
-
pubfnnextnextch_is(&self,c:char) -> bool{
507
+
fnnextnextch_is(&self,c:char) -> bool{
510
508
self.nextnextch() == Some(c)
511
509
}
512
510
@@ -1732,7 +1730,7 @@ impl<'a> StringReader<'a> {
1732
1730
1733
1731
// This tests the character for the unicode property 'PATTERN_WHITE_SPACE' which
1734
1732
// is guaranteed to be forward compatible. http://unicode.org/reports/tr31/#R3
0 commit comments