1 | static S assertIsIdentifier(S s) { |
2 | if (!isIdentifier(s)) |
3 | fail("Not an identifier: " + quote(s)); |
4 | ret s; |
5 | } |
6 | |
7 | static S assertIsIdentifier(S msg, S s) { |
8 | if (!isIdentifier(s)) |
9 | fail(msg + " - Not an identifier: " + quote(s)); |
10 | ret s; |
11 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1002206 |
Snippet name: | assertIsIdentifier |
Eternal ID of this version: | #1002206/2 |
Text MD5: | e73e867175ad3eea77cd387516e5ac53 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-04-07 16:49:35 |
Source code size: | 254 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 801 / 1226 |
Version history: | 1 change(s) |
Referenced in: | [show references] |