Libraryless. Click here for Pure Java version (10686L/59K).
1 | static LS pine_singleToDoubleQuotes(LS tok) { |
2 | ret mapCodeTokens(tok, t -> { |
3 | if (startsWith(t, "'")) |
4 | ret quote(unquoteSingleOrDoubleQuotes(t)); |
5 | ret t; |
6 | }); |
7 | } |
download show line numbers debug dex old transpilations
Travelled to 2 computer(s): mqqgnosmbjvj, wnsclhtenguj
No comments. add comment
Snippet ID: | #1037258 |
Snippet name: | pine_singleToDoubleQuotes |
Eternal ID of this version: | #1037258/2 |
Text MD5: | 39170a08db256aba095053ef17bb1b36 |
Transpilation MD5: | b59277ae6286f895674192b3cacb0d8c |
Author: | stefan |
Category: | javax / pine script |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2023-10-15 17:41:16 |
Source code size: | 179 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 217 / 303 |
Version history: | 1 change(s) |
Referenced in: | [show references] |