Libraryless. Click here for Pure Java version (2502L/16K).
sbool tok_isAssignment(LS tok, int i) { if (!eqGet(tok, i, "=")) false; if (nempty(get(tok, i+1))) true; if (eqGet(tok, i+2, "=")) false; true; }
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1028558 |
Snippet name: | tok_isAssignment |
Eternal ID of this version: | #1028558/3 |
Text MD5: | f43097f66b906f9390ceab16cef599ab |
Transpilation MD5: | 79160187b408c19c82078211bc20d5e8 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-06-26 19:06:39 |
Source code size: | 158 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 204 / 295 |
Version history: | 2 change(s) |
Referenced in: | [show references] |