Home
last modified time | relevance | path

Searched refs:UnicodeXID (Results 1 – 7 of 7) sorted by relevance

/external/rust/crates/unicode-xid/src/
Dtests.rs25 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()
Dlib.rs63 pub trait UnicodeXID { trait
81 impl UnicodeXID for char {
/external/rust/crates/syn/1.0.7/src/
Dident.rs9 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/
Dlifetime.rs6 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/
DREADME.md13 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/
Dstrnom.rs5 use unicode_xid::UnicodeXID;
153 Some(ch) if UnicodeXID::is_xid_continue(ch) => Err(LexError), in word_break()
Dfallback.rs16 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()