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

3
LINES

< > BotCompany Repo | #1034439 // printTokenContext

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

Libraryless. Click here for Pure Java version (5002L/28K).

svoid printTokenContext(LS tok, int iFirstToken, int iLastToken default iFirstToken) {
  print("Context: " + joinSubList(tok, iFirstToken-5, iLastToken+5));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1034439
Snippet name: printTokenContext
Eternal ID of this version: #1034439/2
Text MD5: 9cb424b0546257c353ff4738827226f9
Transpilation MD5: f89e1435d7512e6a3a950713acf30263
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-02-07 20:56:18
Source code size: 160 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 75 / 121
Version history: 1 change(s)
Referenced in: [show references]