Debian Codegraph @

tests/languages/jq/string_feature.test

raw
1 "foo"
2 "\""
3 "Aa\r\n\t\b\f\u03bc"
4 "inter\("pol" + "ation")"
5
6 ----------------------------------------------------
7
8 [
9 ["string", [
10 "\"foo\""
11 ]],
12
13 ["string", [
14 "\"\\\"\""
15 ]],
16
17 ["string", [
18 "\"Aa\\r\\n\\t\\b\\f\\u03bc\""
19 ]],
20
21 ["string", [
22 "\"inter",
23 ["interpolation", [
24 ["punctuation", "\\("],
25 ["content", [
26 ["string", [
27 "\"pol\""
28 ]],
29 ["operator", "+"],
30 ["string", [
31 "\"ation\""
32 ]]
33 ]],
34 ["punctuation", ")"]
35 ]],
36 "\""
37 ]]
38 ]
39
40 ----------------------------------------------------
41
42 Checks for strings and string interpolation.