1 | svoid test_tok_isJavaxMetaCommandLeftOf() {
|
2 | for (S s, bool b : litorderedmap( |
3 | "set flag here. class bla", true, |
4 | "a; set flag here. class bla", true, |
5 | "flag here. class bla", false)) {
|
6 | LS tok = javaTok(s); |
7 | assertEqualsVerbose(b, tok_isJavaxMetaCommandLeftOf(tok, tok.indexOf("class")));
|
8 | } |
9 | } |
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1025013 |
| Snippet name: | test_tok_isJavaxMetaCommandLeftOf |
| Eternal ID of this version: | #1025013/3 |
| Text MD5: | a17f82f49c9df285c31ab7e20a3b2eeb |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-09-01 11:54:40 |
| Source code size: | 320 bytes / 9 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 462 / 516 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |