tag | a5fb4f1b8c7877b9e18742847e09b3ae3a677a26 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Wed Oct 04 23:20:35 2023 -0700 |
object | 397b92831a601051cb6e56d9fc926e3fcdc925eb |
frc_340819020 (10612203,com.google.android.ipsec,com.google.android.networkstack,com.google.android.tethering)
commit | 397b92831a601051cb6e56d9fc926e3fcdc925eb | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Tue Apr 11 18:02:54 2023 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Tue Apr 11 18:02:54 2023 +0000 |
tree | 105ba11fd4b0f188e43f4106db8f315a4c63866c | |
parent | 9361ae356da963968e819dadd44a42f87d5f6793 [diff] | |
parent | 4f0f46d04b612c17602140f733bc343833bbc217 [diff] |
Snap for 9912757 from 4f0f46d04b612c17602140f733bc343833bbc217 to aml-frc-release Change-Id: If1f255a639fd96a80b8f8106e21fbaa6667b020c
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.