tag | 92d8f5f4696f8ed205539038efeecbe008ab6e78 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Tue Mar 12 15:48:32 2024 -0700 |
object | e7e33b0828d288d697a3a475d66fe7456fb686ed |
aml_sta_341410000
commit | e7e33b0828d288d697a3a475d66fe7456fb686ed | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Jul 07 05:07:32 2023 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Jul 07 05:07:32 2023 +0000 |
tree | 105ba11fd4b0f188e43f4106db8f315a4c63866c | |
parent | f2459fc55316c0fe1f4e705ab507b26d14b0f8fb [diff] | |
parent | 166b9fb9b503067dfd08cdf95b98dd1987db3bf0 [diff] |
Snap for 10453563 from 166b9fb9b503067dfd08cdf95b98dd1987db3bf0 to mainline-os-statsd-release Change-Id: I4041fa015af71c90b8b920baa4e1a4a41109f939
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.