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

10
LINES

< > BotCompany Repo | #1034244 // IHasTokenRangeWithSrc

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

Libraryless. Click here for Pure Java version (23715L/144K).

// i can haz token range with srzzzz
interface IHasTokenRangeWithSrc {
  selfType setTokenRangeWithSrc(TokenRangeWithSrc src);
  TokenRangeWithSrc tokenRangeWithSrc();
  
  default S srcText() {
    var src = tokenRangeWithSrc();
    ret src?.text();
  }
}

Author comment

Began life as a copy of #1034243

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1034244
Snippet name: IHasTokenRangeWithSrc
Eternal ID of this version: #1034244/7
Text MD5: 3f0b1e321a0b48c31247e10681a5a946
Transpilation MD5: 16f22e40e4749c5614abc7a8cb046c6e
Author: stefan
Category: javax / parsing
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-12-11 17:04:41
Source code size: 265 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 152 / 262
Version history: 6 change(s)
Referenced in: [show references]