Searched refs:UnicodeXID (Results 1 – 6 of 6) sorted by relevance
/external/rust/crates/unicode-xid/src/ |
D | tests.rs | 19 use UnicodeXID; 27 b.iter(|| string.chars().all(super::UnicodeXID::is_xid_start)); in cargo_is_xid_start() 45 b.iter(|| string.chars().all(super::UnicodeXID::is_xid_continue)); in cargo_xid_continue() 62 assert!(super::UnicodeXID::is_xid_start(*ch), "{}", ch); in test_is_xid_start() 73 assert!(!super::UnicodeXID::is_xid_start(*ch), "{}", ch); in test_is_not_xid_start() 82 assert!(super::UnicodeXID::is_xid_continue(*ch), "{}", ch); in test_is_xid_continue() 93 assert!(!super::UnicodeXID::is_xid_continue(ch), "{}", ch); in test_is_not_xid_continue()
|
D | lib.rs | 57 pub trait UnicodeXID { interface 75 impl UnicodeXID for char {
|
/external/rust/crates/unicode-xid/tests/ |
D | exhaustive_tests.rs | 2 use unicode_xid::UnicodeXID; 16 let _ = UnicodeXID::is_xid_start(c); in all_valid_chars_do_not_panic_for_is_xid_start() 23 let _ = UnicodeXID::is_xid_continue(c); in all_valid_chars_do_not_panic_for_is_xid_continue()
|
/external/rust/crates/syn/src/ |
D | ident.rs | 9 use unicode_xid::UnicodeXID; 93 if !(UnicodeXID::is_xid_start(first) || first == '_') { in xid_ok() 97 if !UnicodeXID::is_xid_continue(ch) { in xid_ok()
|
/external/rust/crates/unicode-xid/ |
D | README.md | 13 use unicode_xid::UnicodeXID; 17 println!("Is {} a valid start of an identifier? {}", ch, UnicodeXID::is_xid_start(ch));
|
/external/rust/crates/proc-macro2/src/ |
D | fallback.rs | 16 use unicode_xid::UnicodeXID; 660 || (c > '\x7f' && UnicodeXID::is_xid_start(c)) in is_ident_start() 668 || (c > '\x7f' && UnicodeXID::is_xid_continue(c)) in is_ident_continue()
|