static boolean isExtendedIdentifier(S s) { if (empty(s)) ret false; for (int i = 0; i < l(s); i++) { char c = s.charAt(i); if (c != '\'' && !(i == 0 ? Character.isLetter(c) : Character.isLetterOrDigit(c))) ret false; } ret true; }
Began life as a copy of #1001892
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1002736 |
Snippet name: | isExtendedIdentifier - identifiers + ' |
Eternal ID of this version: | #1002736/1 |
Text MD5: | 4f4ba274d0fe1f9dc84bea9b3264a4a2 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-02-29 20:23:19 |
Source code size: | 260 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 697 / 868 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #3000382 - Answer for ferdie (>> t = 1, f = 0) |