tag | 0eeaa5734a6a7e5f352e8bbfd5d6bef219816b4f | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Wed Apr 24 16:44:09 2024 -0700 |
object | 81b676933298e59fc6624ec3bc35a06e966c51dc |
aml_ext_341620040 (11584337,com.google.android.extservices)
commit | 81b676933298e59fc6624ec3bc35a06e966c51dc | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Jul 07 05:01:06 2023 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Jul 07 05:01:06 2023 +0000 |
tree | 105ba11fd4b0f188e43f4106db8f315a4c63866c | |
parent | 4d8547c0e9acd0e309a566315326bdf39d502638 [diff] | |
parent | 166b9fb9b503067dfd08cdf95b98dd1987db3bf0 [diff] |
Snap for 10453563 from 166b9fb9b503067dfd08cdf95b98dd1987db3bf0 to mainline-extservices-release Change-Id: I8cb4ea4da4a0e12560c82e39ba386d133751dcef
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.