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

6
LINES

< > BotCompany Repo | #1032849 // test_tok_scanTypeArg

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

Libraryless. Click here for Pure Java version (4041L/23K).

svoid test_tok_scanTypeArg() {
  LS tok = javaTok("A<B>");
  assertEqualsVerbose("<B>", tok_scanTypeArg(tok, indexOf(tok, "<")));
  tok = javaTok("A<B, C> d");
  assertEqualsVerbose("<B, C>", tok_scanTypeArg(tok, indexOf(tok, "<")));
}

Author comment

Began life as a copy of #1032848

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1032849
Snippet name: test_tok_scanTypeArg
Eternal ID of this version: #1032849/3
Text MD5: f3561191e0811c0dadc4981a88df412e
Transpilation MD5: c0688b986da4c01b1ecd874acd2291ab
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-06 20:58:13
Source code size: 242 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 149 / 207
Version history: 2 change(s)
Referenced in: [show references]