Searched refs:UnicodeXID (Results 1 – 7 of 7) sorted by relevance
/external/rust/crates/unicode-xid/src/ |
D | tests.rs | 25 string.chars().all(super::UnicodeXID::is_xid_start) in cargo_is_xid_start() 47 string.chars().all(super::UnicodeXID::is_xid_continue) in cargo_xid_continue() 70 assert!(super::UnicodeXID::is_xid_start(*ch), "{}", ch); in test_is_xid_start() 84 assert!(!super::UnicodeXID::is_xid_start(*ch), "{}", ch); in test_is_not_xid_start() 96 assert!(super::UnicodeXID::is_xid_continue(*ch), "{}", ch); in test_is_xid_continue() 109 assert!(!super::UnicodeXID::is_xid_continue(ch), "{}", ch); in test_is_not_xid_continue()
|
D | lib.rs | 63 pub trait UnicodeXID { trait 81 impl UnicodeXID for char {
|
/external/rust/crates/syn/1.0.7/src/ |
D | ident.rs | 9 use unicode_xid::UnicodeXID; 92 if !(UnicodeXID::is_xid_start(first) || first == '_') { in xid_ok() 96 if !UnicodeXID::is_xid_continue(ch) { in xid_ok()
|
/external/rust/crates/syn/0.15.42/src/ |
D | lifetime.rs | 6 use unicode_xid::UnicodeXID; 61 if !(UnicodeXID::is_xid_start(first) || first == '_') { in new() 65 if !UnicodeXID::is_xid_continue(ch) { in new()
|
/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 | strnom.rs | 5 use unicode_xid::UnicodeXID; 153 Some(ch) if UnicodeXID::is_xid_continue(ch) => Err(LexError), in word_break()
|
D | fallback.rs | 16 use unicode_xid::UnicodeXID; 557 || (c > '\x7f' && UnicodeXID::is_xid_start(c)) in is_ident_start() 566 || (c > '\x7f' && UnicodeXID::is_xid_continue(c)) in is_ident_continue()
|