svoid test_tok_isJavaxMetaCommandLeftOf() { for (S s, bool b : litorderedmap( "set flag here. class bla", true, "a; set flag here. class bla", true, "flag here. class bla", false)) { LS tok = javaTok(s); assertEqualsVerbose(b, tok_isJavaxMetaCommandLeftOf(tok, tok.indexOf("class"))); } }
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: | 460 / 514 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |