Hash :
3f7d7453
Author :
Date :
2021-01-24T15:40:08
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 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70
"string"
"lhs: ${lhs}, rhs: ${rhs}"
"${3 + 5} is 8"
"method_missing(${i}, ${name}), ${v.size()} params"
'f'
----------------------------------------------------
[
["string-interpolation", [
["string", "\"string\""]
]],
["string-interpolation", [
["string", "\"lhs: "],
["interpolation", [
["interpolation-punctuation", "${"],
["interpolation-expression", ["lhs"]],
["interpolation-punctuation", "}"]
]],
["string", ", rhs: "],
["interpolation", [
["interpolation-punctuation", "${"],
["interpolation-expression", ["rhs"]],
["interpolation-punctuation", "}"]
]],
["string", "\""]
]],
["string-interpolation", [
["string", "\""],
["interpolation", [
["interpolation-punctuation", "${"],
["interpolation-expression", [
["number", "3"],
["operator", "+"],
["number", "5"]
]],
["interpolation-punctuation", "}"]
]],
["string", " is 8\""]
]],
["string-interpolation", [
["string", "\"method_missing("],
["interpolation", [
["interpolation-punctuation", "${"],
["interpolation-expression", ["i"]],
["interpolation-punctuation", "}"]
]],
["string", ", "],
["interpolation", [
["interpolation-punctuation", "${"],
["interpolation-expression", ["name"]],
["interpolation-punctuation", "}"]
]],
["string", "), "],
["interpolation", [
["interpolation-punctuation", "${"],
["interpolation-expression", [
"v",
["punctuation", "."],
["function", "size"],
["punctuation", "("],
["punctuation", ")"]
]],
["interpolation-punctuation", "}"]
]],
["string", " params\""]
]],
["string", "'f'"]
]