tag | e7ce31f689ffc8e9df9aead9f40f0696816bb3e6 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Wed Mar 27 11:20:54 2024 -0700 |
object | a3bfb4d9ca48829a472f5747266c979441df68e3 |
aml Release kp_341510000 (11282716,com.google.android.rkpd)
commit | a3bfb4d9ca48829a472f5747266c979441df68e3 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Jul 07 05:26:12 2023 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Jul 07 05:26:12 2023 +0000 |
tree | 105ba11fd4b0f188e43f4106db8f315a4c63866c | |
parent | 3ca5e7fe824436f2712e56d412e516d7927d37d1 [diff] | |
parent | 166b9fb9b503067dfd08cdf95b98dd1987db3bf0 [diff] |
Snap for 10453563 from 166b9fb9b503067dfd08cdf95b98dd1987db3bf0 to mainline-rkpd-release Change-Id: I3b0b4411f442ccd73838ab8ac20c5ff761a71c2d
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.