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

11
LINES

< > BotCompany Repo | #1030453 - test_tok_findEndOfStatement (OK)

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2969L/19K).

svoid test_tok_findEndOfStatement() {
  testFunctionValues((IF1<S>) s -> {
    LS tok = javaTok(s);
    ret join(takeFirst(tok, tok_findEndOfStatement(tok, 1)));
  },
    "for (bla) { ... } ret;",
    "for (bla) { ... }",
    "ret new Bla { ... }; test;",
    "ret new Bla { ... };",
  );
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx

No comments. add comment

Snippet ID: #1030453
Snippet name: test_tok_findEndOfStatement (OK)
Eternal ID of this version: #1030453/3
Text MD5: 9cef5df568e8f31541091160c6fd75cc
Transpilation MD5: bffb878de87f9cd0c3de7d0eb0adc2ee
Author: stefan
Category: javax / transpiling
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-12-18 18:57:17
Source code size: 300 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 39 / 63
Version history: 2 change(s)
Referenced in: #1006654

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