Libraryless. Click here for Pure Java version (2787L/17K).
1 | sbool tok_whitespaceContainsJavaComments(S s) { |
2 | int l = l(s)-1; |
3 | for j to l: |
4 | if (s.charAt(j) == '/') { |
5 | char d = s.charAt(j+1); |
6 | if (d == '*' || d == '/') true; |
7 | } |
8 | false; |
9 | } |
Began life as a copy of #1008628
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1031774 |
Snippet name: | tok_whitespaceContainsJavaComments |
Eternal ID of this version: | #1031774/4 |
Text MD5: | 36bd2db7ad89e752b4082d0d06723e8d |
Transpilation MD5: | ce3b271595dd4783795135b206f49c55 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-06-29 14:46:43 |
Source code size: | 202 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 184 / 271 |
Version history: | 3 change(s) |
Referenced in: | [show references] |