tag | ec548a2fdccc83ce5ec0f5cb3f62e33820a85cf3 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Wed Mar 27 11:15:59 2024 -0700 |
object | 4016fc41b2af2f9ff813d5777b317f9ed58e0c33 |
aml Release es_341510000 (11275149,com.google.android.resolv)
commit | 4016fc41b2af2f9ff813d5777b317f9ed58e0c33 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Jul 07 01:04:59 2023 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Jul 07 01:04:59 2023 +0000 |
tree | 105ba11fd4b0f188e43f4106db8f315a4c63866c | |
parent | 609de15bdf7ce669f78181b6ac895d6a0015a36c [diff] | |
parent | 166b9fb9b503067dfd08cdf95b98dd1987db3bf0 [diff] |
Snap for 10447354 from 166b9fb9b503067dfd08cdf95b98dd1987db3bf0 to mainline-resolv-release Change-Id: I8f82a8b63fac933a41f694518525039a86de3667
Determine if a char
is a valid identifier for a parser and/or lexer according to Unicode Standard Annex #31 rules.
extern crate unicode_xid; use unicode_xid::UnicodeXID; fn main() { let ch = 'a'; println!("Is {} a valid start of an identifier? {}", ch, UnicodeXID::is_xid_start(ch)); }
unicode-xid supports a no_std
feature. This eliminates dependence on std, and instead uses equivalent functions from core.
const
tables with static
tables.