1 | svoid test_tok_scanTypeArgs() { |
2 | LS tok = javaTok("A<B>"); |
3 | assertEqualsVerbose("<B>", tok_scanTypeArgs(tok, indexOf(tok, "<"))); |
4 | tok = javaTok("A<B, C> d"); |
5 | assertEqualsVerbose("<B, C>", tok_scanTypeArgs(tok, indexOf(tok, "<"))); |
6 | tok = javaTok("A B E"); |
7 | assertEqualsVerbose("", tok_scanTypeArgs(tok, indexOf(tok, "E"))); |
8 | } |
Began life as a copy of #1032849
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1032852 |
Snippet name: | test_tok_scanTypeArgs |
Eternal ID of this version: | #1032852/3 |
Text MD5: | 6cddd71f4f218989740c3ed58b23c0ca |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-10-06 21:04:40 |
Source code size: | 342 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 126 / 157 |
Version history: | 2 change(s) |
Referenced in: | [show references] |