tag | 79300c9d261b6c37885ddeb8ede8cb1b261f5d7a | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Wed Apr 24 20:12:34 2024 -0700 |
object | 02c74ba5f2284795427bdc0a252ca718a47d46ce |
aml_cbr_341610000 (11387106,com.google.android.cellbroadcast)
commit | 02c74ba5f2284795427bdc0a252ca718a47d46ce | [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 | 540409c152bd75b687198fb14678a6a611216c36 [diff] | |
parent | 166b9fb9b503067dfd08cdf95b98dd1987db3bf0 [diff] |
Snap for 10447354 from 166b9fb9b503067dfd08cdf95b98dd1987db3bf0 to mainline-cellbroadcast-release Change-Id: Id2f65198854ca571b934108f78eec8dfbb87dd8e
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.