Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

11
LINES

< > BotCompany Repo | #1002206 - assertIsIdentifier

JavaX fragment (include)

static S assertIsIdentifier(S s) {
  if (!isIdentifier(s))
    fail("Not an identifier: " + quote(s));
  ret s;
}

static S assertIsIdentifier(S msg, S s) {
  if (!isIdentifier(s))
    fail(msg + " - Not an identifier: " + quote(s));
  ret s;
}

download  show line numbers  debug dex   

Travelled to 11 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz

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: 495 / 832
Version history: 1 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1002206 & http://1002206.tinybrain.de