tag | d3bcc652ab8503532bfe2669bec7b50545bbacd4 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Thu Apr 14 15:55:20 2022 -0700 |
object | 9f9f17fd8c237012c0433c5207956c555d913b77 |
Android Mainline 12.0.0 Release 79 (8339070,com.google.android.permission)
commit | 9f9f17fd8c237012c0433c5207956c555d913b77 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Wed Jul 14 00:46:58 2021 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Wed Jul 14 00:46:58 2021 +0000 |
tree | 61cbc999afbb44a39051d64970ec4715eba50b3e | |
parent | c1e423c8e1d800a433ed8156fe96384d3232def5 [diff] | |
parent | 788b1177692dad380cf13694e7bf948d3f451423 [diff] |
Snap for 7547121 from 788b1177692dad380cf13694e7bf948d3f451423 to mainline-permission-release Change-Id: I2d95a6bac075c73fb8aa9c2a4efbbf2cd3db5ecf
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.