Searched refs:match_range (Results 1 – 11 of 11) sorted by relevance
/external/rust/crates/pest_generator/src/ |
D | generator.rs | 118 insert_builtin!(builtins, ASCII_DIGIT, state.match_range('0'..'9')); in generate_builtin_rules() 119 insert_builtin!(builtins, ASCII_NONZERO_DIGIT, state.match_range('1'..'9')); in generate_builtin_rules() 120 insert_builtin!(builtins, ASCII_BIN_DIGIT, state.match_range('0'..'1')); in generate_builtin_rules() 121 insert_builtin!(builtins, ASCII_OCT_DIGIT, state.match_range('0'..'7')); in generate_builtin_rules() 126 .match_range('0'..'9') in generate_builtin_rules() 127 .or_else(|state| state.match_range('a'..'f')) in generate_builtin_rules() 128 .or_else(|state| state.match_range('A'..'F')) in generate_builtin_rules() 130 insert_builtin!(builtins, ASCII_ALPHA_LOWER, state.match_range('a'..'z')); in generate_builtin_rules() 131 insert_builtin!(builtins, ASCII_ALPHA_UPPER, state.match_range('A'..'Z')); in generate_builtin_rules() 136 .match_range('a'..'z') in generate_builtin_rules() [all …]
|
/external/rust/crates/pest/tests/ |
D | json.rs | 173 .match_range('0'..'9') in parse() 174 .or_else(|s| s.match_range('a'..'f')) in parse() 175 .or_else(|s| s.match_range('A'..'F')) in parse() 187 .and_then(|s| s.match_range('0'..'9')) in parse() 188 .and_then(|s| s.repeat(|s| s.match_range('0'..'9'))) in parse() 201 s.match_range('1'..'9') in parse() 202 .and_then(|s| s.repeat(|s| s.match_range('0'..'9'))) in parse()
|
D | calculator.rs | 74 s.match_range('1'..'9') in parse() 75 .and_then(|s| s.repeat(|s| s.match_range('0'..'9'))) in parse()
|
/external/rust/crates/pest/src/ |
D | position.rs | 440 pub(crate) fn match_range(&mut self, range: Range<char>) -> bool { in match_range() method 617 fn match_range() { in match_range() function 620 assert!(Position::new(input, 0).unwrap().match_range('a'..'c')); in match_range() 621 assert!(Position::new(input, 0).unwrap().match_range('b'..'b')); in match_range() 622 assert!(!Position::new(input, 0).unwrap().match_range('a'..'a')); in match_range() 623 assert!(!Position::new(input, 0).unwrap().match_range('c'..'c')); in match_range() 624 assert!(Position::new(input, 0).unwrap().match_range('a'..'嗨')); in match_range()
|
D | parser_state.rs | 685 pub fn match_range(mut self: Box<Self>, range: Range<char>) -> ParseResult<Box<Self>> { in match_range() method 686 if self.position.match_range(range) { in match_range()
|
/external/rust/crates/pest_meta/src/ |
D | grammar.rs | 2 …match_range ('0' .. '9') . and_then (| state | { state . repeat (| state | { state . match_range (… in skip()
|
/external/antlr/runtime/Perl5/lib/ANTLR/Runtime/ |
D | Lexer.pm | 186 sub match_range { subroutine
|
/external/antlr/runtime/Ruby/lib/antlr3/template/ |
D | group-file-lexer.rb | 364 match_range( 0x41, 0x5a )
|
/external/antlr/runtime/Ruby/lib/antlr3/ |
D | recognizers.rb | 1104 def match_range( min, max )
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Perl5/ |
D | Perl5.stg | 688 $self->match_range(<a>,<b>); <checkRuleBacktrackFailure()>
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Ruby/ |
D | Ruby.stg | 1346 match_range( <a>, <b> )
|