Lines Matching refs:Some
87 Some(self.source[self.pos] as char) in peek_char()
114 Some('-') if self.delimiter.is_none() => { in probe_delimiter()
115 self.delimiter = Some(Delimiter::Hyphen); in probe_delimiter()
116 Ok(Some(())) in probe_delimiter()
118 …Some('-') if self.delimiter != Some(Delimiter::Hyphen) => Err(ParseError::InvalidCharacter('-', se… in probe_delimiter()
119 Some('-') => Ok(Some(())), in probe_delimiter()
121 Some(':') if self.delimiter.is_none() => { in probe_delimiter()
122 self.delimiter = Some(Delimiter::Colon); in probe_delimiter()
123 Ok(Some(())) in probe_delimiter()
125 …Some(':') if self.delimiter != Some(Delimiter::Colon) => Err(ParseError::InvalidCharacter(':', sel… in probe_delimiter()
126 Some(':') => Ok(Some(())), in probe_delimiter()
128 Some('.') if self.delimiter.is_none() => { in probe_delimiter()
129 self.delimiter = Some(Delimiter::Dot); in probe_delimiter()
130 Ok(Some(())) in probe_delimiter()
132 …Some('.') if self.delimiter != Some(Delimiter::Dot) => Err(ParseError::InvalidCharacter('.', self.… in probe_delimiter()
133 Some('.') => Ok(Some(())), in probe_delimiter()