tag | 50d81901fe1477c5169d369471220688bb4b79c7 | |
---|---|---|
tagger | Xin Li <delphij@google.com> | Wed Apr 24 20:17:12 2024 -0700 |
object | d29dc6f7ea33d6460a58dc0b6bab1d823164cd2b |
aml_odp_341610000 (11382236,com.google.android.go.ondevicepersonalization,com.google.android.ondevicepersonalization)
commit | d29dc6f7ea33d6460a58dc0b6bab1d823164cd2b | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Jul 07 07:15:24 2023 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Jul 07 07:15:24 2023 +0000 |
tree | 105ba11fd4b0f188e43f4106db8f315a4c63866c | |
parent | 9da09822af70711244484dc3d0f273005fb05568 [diff] | |
parent | 166b9fb9b503067dfd08cdf95b98dd1987db3bf0 [diff] |
Snap for 10453938 from 166b9fb9b503067dfd08cdf95b98dd1987db3bf0 to mainline-odp-release Change-Id: I87494c422ab6c57159262b2717617cdfbfc8b27c
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.