static Set<S> codeAnalysis_getUnknownIdentifiers(S code) { SS map = codeAnalysis_identifierSafetyMap(); Set<S> identifiers = tok_allIdentifiers(code); new TreeSet<S> set; for (S id : identifiers) { if (!codeAnalysis_isSafeIdentifier(id) && (!map.containsKey(id) || contains(map.get(id), "?"))) set.add(id); } ret set; }
Began life as a copy of #1018160
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1021662 |
| Snippet name: | codeAnalysis_getUnknownIdentifiers |
| Eternal ID of this version: | #1021662/5 |
| Text MD5: | 5594a5c9eff7aa5853b4a665b3d52cff |
| Author: | stefan |
| Category: | javax / code analysis |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-02-23 17:42:58 |
| Source code size: | 367 bytes / 13 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 532 / 590 |
| Version history: | 4 change(s) |
| Referenced in: | [show references] |