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

5
LINES

< > BotCompany Repo | #1033183 // tok_scanBlock_idx

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

Libraryless. Click here for Pure Java version (3803L/22K).

// i must point at the (possibly imaginary) opening bracket ("{")
// index returned is token after closing bracket (or >= l(tok))
static int tok_scanBlock_idx(LS tok, int i) {
  ret tok_findEndOfBlock(tok, i)+1;
}

Author comment

Began life as a copy of #1025221

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1033183
Snippet name: tok_scanBlock_idx
Eternal ID of this version: #1033183/1
Text MD5: 67e9a069e6af117ca47063b44b7c7514
Transpilation MD5: fe2086f0817799bdeda2d4f7fd5b70a3
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-16 00:09:05
Source code size: 217 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 77 / 122
Referenced in: [show references]