tag | e7898272437737cbd03e49bc8b133a516645f064 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Tue Jun 07 22:11:29 2022 -0700 |
object | 788b1177692dad380cf13694e7bf948d3f451423 |
Android Mainline 12.0.0 Release 98 (8303336,com.google.android.art)
commit | 788b1177692dad380cf13694e7bf948d3f451423 | [log] [tgz] |
---|---|---|
author | Xin Li <delphij@google.com> | Sat Feb 20 15:10:30 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Sat Feb 20 15:10:30 2021 +0000 |
tree | 61cbc999afbb44a39051d64970ec4715eba50b3e | |
parent | ec7aacc96d38d880a06cf279c49bd9896921738b [diff] | |
parent | aea0e3ef441d27c8699d9b449fb2c76f44f7cf70 [diff] |
[automerger skipped] Mark ab/7061308 as merged in stage. am: 74fd093f8c -s ours am: e7db9fb7ee -s ours am: aea0e3ef44 -s ours am skip reason: Change-Id I6a3fdf1243cf62d927b122acfe2cebebd7e0d3c9 with SHA-1 1316d84b38 is in history Original change: undetermined MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I94f0903bc6c19999bcf743c50bf11b9d11bb3a25
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.