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).

1  
// i can haz token range with srzzzz
2  
interface IHasTokenRangeWithSrc {
3  
  selfType setTokenRangeWithSrc(TokenRangeWithSrc src);
4  
  TokenRangeWithSrc tokenRangeWithSrc();
5  
  
6  
  default S srcText() {
7  
    var src = tokenRangeWithSrc();
8  
    ret src?.text();
9  
  }
10  
}

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: 294 / 440
Version history: 6 change(s)
Referenced in: [show references]