tag | 13f06c10f5a237426a89c1dae2e5b6be68d37996 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Thu May 04 16:18:17 2023 -0700 |
object | a34c849d6af1f488f38b3f93f2a8a57dd0ca18c0 |
Platform Tools Release 34.0.1 (9680074)
commit | a34c849d6af1f488f38b3f93f2a8a57dd0ca18c0 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Wed Feb 01 11:03:16 2023 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Wed Feb 01 11:03:16 2023 +0000 |
tree | a0ddc43950fd35602efbb72ec30c3f9161e13d55 | |
parent | 0018c2d9a9662a5fa134d9629314f2181089d765 [diff] | |
parent | 075bed150dc75de528edd315a2eca6ed38eb6cf1 [diff] |
Snap for 9550355 from 075bed150dc75de528edd315a2eca6ed38eb6cf1 to sdk-release Change-Id: Ic0c9504b9beebbbd5b44acaa27137c0730831b50
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.