| 1 |
$mud |
| 2 |
$customer.Name |
| 3 |
$flogger.getPromo( $mud ) |
| 4 |
$mud-slinger |
| 5 |
$mud_slinger |
| 6 |
$mudSlinger1 |
| 7 |
$!mudSlinger_9 |
| 8 |
$person.setAttributes( ["Strange", false, "Excited"] ) |
| 9 |
$foo[0] |
| 10 |
$foo[$i] |
| 11 |
$foo["bar"] |
| 12 |
$foo.bar[1].junk |
| 13 |
$foo.callMethod()[1] |
| 14 |
$foo["apple"][4] |
| 15 |
${mudSlinger} |
| 16 |
$!{mudSlinger_9} |
| 17 |
${customer.Address} |
| 18 |
${purchase.getTotal()} |
| 19 |
<input value="$email"/> |
| 20 |
<input value="$!{email}"/> |
| 21 |
$\!foo |
| 22 |
$\!{foo} |
| 23 |
$\\!foo |
| 24 |
$\\\!foo |
| 25 |
\$foo |
| 26 |
\$!foo |
| 27 |
\$!{foo} |
| 28 |
\\$!{foo} |
| 29 |
|
| 30 |
---------------------------------------------------- |
| 31 |
|
| 32 |
[ |
| 33 |
["variable", ["$mud"]], |
| 34 |
["variable", ["$customer", ["punctuation", "."], "Name"]], |
| 35 |
["variable", [ |
| 36 |
"$flogger", |
| 37 |
["punctuation", "."], |
| 38 |
["function", "getPromo"], |
| 39 |
["punctuation", "("], |
| 40 |
" $mud ", |
| 41 |
["punctuation", ")"] |
| 42 |
]], |
| 43 |
["variable", ["$mud-slinger"]], |
| 44 |
["variable", ["$mud_slinger"]], |
| 45 |
["variable", ["$mudSlinger1"]], |
| 46 |
["variable", ["$!mudSlinger_9"]], |
| 47 |
["variable", [ |
| 48 |
"$person", |
| 49 |
["punctuation", "."], |
| 50 |
["function", "setAttributes"], |
| 51 |
["punctuation", "("], |
| 52 |
["punctuation", "["], |
| 53 |
["string", "\"Strange\""], |
| 54 |
["punctuation", ","], |
| 55 |
["boolean", "false"], |
| 56 |
["punctuation", ","], |
| 57 |
["string", "\"Excited\""], |
| 58 |
["punctuation", "]"], |
| 59 |
["punctuation", ")"] |
| 60 |
]], |
| 61 |
["variable", ["$foo", ["punctuation", "["], ["number", "0"], ["punctuation", "]"]]], |
| 62 |
["variable", ["$foo", ["punctuation", "["], "$i", ["punctuation", "]"]]], |
| 63 |
["variable", ["$foo", ["punctuation", "["], ["string", "\"bar\""], ["punctuation", "]"]]], |
| 64 |
["variable", [ |
| 65 |
"$foo", |
| 66 |
["punctuation", "."], |
| 67 |
"bar", |
| 68 |
["punctuation", "["], |
| 69 |
["number", "1"], |
| 70 |
["punctuation", "]"], |
| 71 |
["punctuation", "."], |
| 72 |
"junk" |
| 73 |
]], |
| 74 |
["variable", [ |
| 75 |
"$foo", |
| 76 |
["punctuation", "."], |
| 77 |
["function", "callMethod"], |
| 78 |
["punctuation", "("], |
| 79 |
["punctuation", ")"], |
| 80 |
["punctuation", "["], |
| 81 |
["number", "1"], |
| 82 |
["punctuation", "]"] |
| 83 |
]], |
| 84 |
["variable", [ |
| 85 |
"$foo", |
| 86 |
["punctuation", "["], |
| 87 |
["string", "\"apple\""], |
| 88 |
["punctuation", "]"], |
| 89 |
["punctuation", "["], |
| 90 |
["number", "4"], |
| 91 |
["punctuation", "]"] |
| 92 |
]], |
| 93 |
["variable", ["$", ["punctuation", "{"], "mudSlinger", ["punctuation", "}"]]], |
| 94 |
["variable", ["$!", ["punctuation", "{"], "mudSlinger_9", ["punctuation", "}"]]], |
| 95 |
["variable", [ |
| 96 |
"$", |
| 97 |
["punctuation", "{"], |
| 98 |
"customer", |
| 99 |
["punctuation", "."], |
| 100 |
"Address", |
| 101 |
["punctuation", "}"] |
| 102 |
]], |
| 103 |
["variable", [ |
| 104 |
"$", |
| 105 |
["punctuation", "{"], |
| 106 |
"purchase", |
| 107 |
["punctuation", "."], |
| 108 |
["function", "getTotal"], |
| 109 |
["punctuation", "("], |
| 110 |
["punctuation", ")"], |
| 111 |
["punctuation", "}"] |
| 112 |
]], |
| 113 |
["tag", [ |
| 114 |
["tag", [ |
| 115 |
["punctuation", "<"], |
| 116 |
"input" |
| 117 |
]], |
| 118 |
["attr-name", ["value"]], |
| 119 |
["attr-value", [ |
| 120 |
["punctuation", "="], |
| 121 |
["punctuation", "\""], |
| 122 |
["variable", ["$email"]], |
| 123 |
["punctuation", "\""] |
| 124 |
]], |
| 125 |
["punctuation", "/>"] |
| 126 |
]], |
| 127 |
["tag", [ |
| 128 |
["tag", [ |
| 129 |
["punctuation", "<"], |
| 130 |
"input" |
| 131 |
]], |
| 132 |
["attr-name", ["value"]], |
| 133 |
["attr-value", [ |
| 134 |
["punctuation", "="], |
| 135 |
["punctuation", "\""], |
| 136 |
["variable", ["$!", ["punctuation", "{"], "email", ["punctuation", "}"]]], |
| 137 |
["punctuation", "\""] |
| 138 |
]], |
| 139 |
["punctuation", "/>"] |
| 140 |
]], |
| 141 |
"\r\n$\\!foo\r\n$\\!{foo}\r\n$\\\\!foo\r\n$\\\\\\!foo\r\n\\$foo\r\n\\$!foo\r\n\\$!{foo}\r\n\\\\", |
| 142 |
["variable", ["$!", ["punctuation", "{"], "foo", ["punctuation", "}"]]] |
| 143 |
] |
| 144 |
|
| 145 |
---------------------------------------------------- |
| 146 |
|
| 147 |
Checks for variables. |