Transpiled version (4665L) is out of date.
1 | // Both lines and columns are numbered from 1 |
2 | srecord LineAndColumn(int line, int col) {
|
3 | // get text of a line. may return null if no text available |
4 | swappable S getLineText(int line) { null; }
|
5 | |
6 | toString { ret "Line " + n2(line) + ", col " + n2(col); }
|
7 | } |
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, ekrmjmnbrukm, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1033993 |
| Snippet name: | LineAndColumn |
| Eternal ID of this version: | #1033993/4 |
| Text MD5: | 660ad4d881c34d77a290071dbdc7b18c |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-03-30 17:26:16 |
| Source code size: | 267 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 734 / 948 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |