Libraryless. Click here for Pure Java version (4041L/23K).
1 | svoid test_tok_scanTypeArg() { |
2 | LS tok = javaTok("A<B>"); |
3 | assertEqualsVerbose("<B>", tok_scanTypeArg(tok, indexOf(tok, "<"))); |
4 | tok = javaTok("A<B, C> d"); |
5 | assertEqualsVerbose("<B, C>", tok_scanTypeArg(tok, indexOf(tok, "<"))); |
6 | } |
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: | 151 / 209 |
Version history: | 2 change(s) |
Referenced in: | [show references] |