Lines Matching defs:octal
117 octal: bool,
132 octal: false,
142 octal: self.octal,
183 /// Whether to support octal syntax or not.
188 /// shows octal syntax.
190 /// While supporting octal syntax isn't in and of itself a problem, it does
194 /// be supported. Therefore, when octal support is disabled, the error
198 pub fn octal(&mut self, yes: bool) -> &mut ParserBuilder {
199 self.octal = yes;
234 /// Whether to support octal syntax or not. When `false`, the parser will
237 octal: bool,
1446 if !self.parser().octal {
1456 '8'..='9' if !self.parser().octal => {
1527 /// Parse an octal representation of a Unicode codepoint up to 3 digits
1528 /// long. This expects the parser to be positioned at the first octal
1530 /// following the octal number. This also assumes that parsing octal
1539 assert!(self.parser().octal);
1549 let octal = &self.pattern()[start.offset..end.offset];
1550 // Parsing the octal should never fail since the above guarantees a
1553 u32::from_str_radix(octal, 8).expect("valid octal number");
1554 // The max value for 3 digit octal is 0777 = 511 and [0, 511] has no
2353 let parser = ParserBuilder::new().octal(true).build();