Home
last modified time | relevance | path

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

/external/rust/crates/unicode-xid/src/
Dtests.rs27 b.iter(|| string.chars().all(super::UnicodeXID::is_xid_start)); in cargo_is_xid_start()
36 b.iter(|| string.chars().all(char::is_xid_start)); in stdlib_is_xid_start()
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()
Dlib.rs64 fn is_xid_start(self) -> bool; in is_xid_start() method
77 fn is_xid_start(self) -> bool { in is_xid_start() method
/external/rust/crates/unicode-xid/tests/
Dexhaustive_tests.rs16 let _ = UnicodeXID::is_xid_start(c); in all_valid_chars_do_not_panic_for_is_xid_start()
/external/rust/crates/unicode-xid/
DREADME.md17 println!("Is {} a valid start of an identifier? {}", ch, UnicodeXID::is_xid_start(ch));
/external/rust/crates/syn/src/
Dident.rs93 if !(UnicodeXID::is_xid_start(first) || first == '_') { in xid_ok()
/external/rust/crates/proc-macro2/src/
Dfallback.rs660 || (c > '\x7f' && UnicodeXID::is_xid_start(c)) in is_ident_start()