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

5
LINES

< > BotCompany Repo | #1017000 // tokCondition_beginningOfMethodDeclaration

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

Libraryless. Click here for Pure Java version (2494L/16K).

1  
static TokCondition tokCondition_beginningOfMethodDeclaration() {
2  
  ret tokcondition {
3  
    ret eqOneOf(_get(tok, i-1), "}", ";", "{", null, ""); // "" is there to hopefully handle badly re-toked includes preceding the declaration
4  
  };
5  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1017000
Snippet name: tokCondition_beginningOfMethodDeclaration
Eternal ID of this version: #1017000/3
Text MD5: 2895a43c2a52900f5dd5b10e6410d328
Transpilation MD5: fa2a1113a1515b6438b0b4ba363c1272
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-06-09 13:07:34
Source code size: 240 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 475 / 550
Version history: 2 change(s)
Referenced in: [show references]