tag | 1d3f14f1675b254655002bf079b58bfe2e894c3c | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Tue Nov 07 17:51:39 2023 -0800 |
object | 2499cd7e64e5b795db1b1b5b08a90d9035bed14e |
Android platform 14.0.0 release 1
commit | 2499cd7e64e5b795db1b1b5b08a90d9035bed14e | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Mar 10 02:22:55 2023 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Mar 10 02:22:55 2023 +0000 |
tree | 105ba11fd4b0f188e43f4106db8f315a4c63866c | |
parent | b7d5e6e3312d2ea08774923b99a1dd6c95455050 [diff] | |
parent | 15449292b4636a7ca121bd217f5f198317cb052a [diff] |
Snap for 9719949 from 15449292b4636a7ca121bd217f5f198317cb052a to udc-release Change-Id: I25aa0443c3f4300069257f38bf3cab58acab05e3
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.