Hash :
72962701
Author :
Date :
2021-01-08T22:22:50
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
"https://example.com"
'single quote'
'age = $user.age'
'[${int(x):-10}]'
r'hello\nworld'
`🚀`
`\``
`Not a Rune`
----------------------------------------------------
[
["string", ["\"https://example.com\""]],
["string", ["'single quote'"]],
["string", [
"'age = ",
["interpolation", [
["interpolation-variable", "$user.age"]
]],
"'"
]],
["string", [
"'[",
["interpolation", [
["interpolation-punctuation", "${"],
["interpolation-expression", [
["function", "int"],
["punctuation", "("],
"x",
["punctuation", ")"],
["punctuation", ":"],
["operator", "-"],
["number", "10"]
]],
["interpolation-punctuation", "}"]
]],
"]'"
]],
["string", ["r'hello\\nworld'"]],
["string", "`🚀`"],
["string", "`\\``"],
"\r\n`Not a Rune`"
]
----------------------------------------------------
Check for strings and string interpolation