Libraryless. Click here for Pure Java version (10702L/76K).
1 | sS codeSafetyCheckResult(S code) { |
2 | S safety = joinWithComma(getCodeFragmentSafety(code)); |
3 | if (neq(safety, "safe")) { |
4 | Set<S> unknown = codeAnalysis_getUnknownIdentifiers(code); |
5 | if (nempty(unknown)) safety += ". Unknown identifiers: " + joinWithComma(unknown); |
6 | } |
7 | ret safety; |
8 | } |
Began life as a copy of #1022382
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: | #1028898 |
Snippet name: | codeSafetyCheckResult |
Eternal ID of this version: | #1028898/1 |
Text MD5: | 8809d14e6e52ece0a50841a788cb681b |
Transpilation MD5: | 41bcff109133664971413ccea5d680f4 |
Author: | stefan |
Category: | javax / gazelle |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-07-11 12:59:11 |
Source code size: | 297 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 227 / 320 |
Referenced in: | [show references] |