tag | c11438cd3fa99f9ed1d250bc40eef5c04beaeb21 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Wed Nov 01 16:51:07 2023 -0700 |
object | c3589f5dacb386baa4278d9c8cb6fc49ae0c2494 |
aml_per_341011020 (10844730,com.google.android.go.permission,com.google.android.permission)
commit | c3589f5dacb386baa4278d9c8cb6fc49ae0c2494 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Jul 07 05:09:25 2023 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Jul 07 05:09:25 2023 +0000 |
tree | 105ba11fd4b0f188e43f4106db8f315a4c63866c | |
parent | 5f49f51d2ea1a1ae31b8039044082697b0d28f48 [diff] | |
parent | 166b9fb9b503067dfd08cdf95b98dd1987db3bf0 [diff] |
Snap for 10453563 from 166b9fb9b503067dfd08cdf95b98dd1987db3bf0 to mainline-permission-release Change-Id: Id47a06b65a0ba8f71d23f8c4ecd4c7056d9b9a6f
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.