tag | 5f4efdf97c532ad1e8ac6195b752d32b7946b5d8 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Tue Oct 10 12:14:02 2023 -0700 |
object | 847e568fa894e58da8ac08bfd2bbbf0ff10e4d42 |
Android 14.0.0 release 11
commit | 847e568fa894e58da8ac08bfd2bbbf0ff10e4d42 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Mar 10 05:18:17 2023 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Mar 10 05:18:17 2023 +0000 |
tree | 105ba11fd4b0f188e43f4106db8f315a4c63866c | |
parent | bc38f76629ef7a77d37c15d2c3cdfdd1725d38b3 [diff] | |
parent | b07151ada47ba2cde0a7dfc904fab192fdca6c26 [diff] |
Snap for 9722771 from b07151ada47ba2cde0a7dfc904fab192fdca6c26 to udc-d1-release Change-Id: I585fddd1d19e7f9cd9f07a2a3ca348ea8c6df8bc
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.