Home
last modified time | relevance | path

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

/external/rust/crates/unicode-xid/src/
Dtests.rs19 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()
Dlib.rs57 pub trait UnicodeXID { interface
75 impl UnicodeXID for char {
/external/rust/crates/unicode-xid/tests/
Dexhaustive_tests.rs2 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/
Dident.rs9 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/
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/
Dfallback.rs16 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()