tag | 3ff26fd63f8d59a01898f688e1bb412ea8227d32 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Wed Feb 14 13:57:02 2024 -0800 |
object | b7a598c84df94cf1e336c18cf692689a979b13f2 |
aml_med_341312020 (11341308,com.google.android.go.media,com.google.android.media)
commit | b7a598c84df94cf1e336c18cf692689a979b13f2 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Jul 07 04:57:01 2023 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Jul 07 04:57:01 2023 +0000 |
tree | 105ba11fd4b0f188e43f4106db8f315a4c63866c | |
parent | 4fab6872a9675970fb17bc861284fde8e0f7c5ce [diff] | |
parent | 166b9fb9b503067dfd08cdf95b98dd1987db3bf0 [diff] |
Snap for 10453563 from 166b9fb9b503067dfd08cdf95b98dd1987db3bf0 to mainline-media-release Change-Id: I83901aff5f9d696db7855e41609e23341ddc49c8
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.