Libraryless. Click here for Pure Java version (2502L/16K).
1 | sbool tok_isAssignment(LS tok, int i) {
|
2 | if (!eqGet(tok, i, "=")) false; |
3 | if (nempty(get(tok, i+1))) true; |
4 | if (eqGet(tok, i+2, "=")) false; |
5 | true; |
6 | } |
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: | 416 / 564 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |