|
| 1 | +original file |
| 2 | +----------------------------------- |
| 3 | +function myFunction(param1, param2, number, string, boolean) { |
| 4 | + let y = (number) => { |
| 5 | + console.log(param1); |
| 6 | + } |
| 7 | + console.log(param1); |
| 8 | + console.log(param1 + number); |
| 9 | + console.log(string); |
| 10 | + console.log(boolean); |
| 11 | + let x = param1 ? 2 : param2; |
| 12 | +} |
| 13 | +----------------------------------- |
| 14 | + |
| 15 | +>function myFunction(param1, param2, number, string, boolean) { |
| 16 | + ^^^^^^^^ |
| 17 | + source.ts meta.function.ts storage.type.function.ts |
| 18 | + ^ |
| 19 | + source.ts meta.function.ts |
| 20 | + ^^^^^^^^^^ |
| 21 | + source.ts meta.function.ts entity.name.function.ts |
| 22 | + ^ |
| 23 | + source.ts meta.function.ts meta.function.type.parameter.ts punctuation.definition.parameters.begin.ts |
| 24 | + ^^^^^^ |
| 25 | + source.ts meta.function.ts meta.function.type.parameter.ts variable.parameter.ts |
| 26 | + ^ |
| 27 | + source.ts meta.function.ts meta.function.type.parameter.ts |
| 28 | + ^ |
| 29 | + source.ts meta.function.ts meta.function.type.parameter.ts |
| 30 | + ^^^^^^ |
| 31 | + source.ts meta.function.ts meta.function.type.parameter.ts variable.parameter.ts |
| 32 | + ^ |
| 33 | + source.ts meta.function.ts meta.function.type.parameter.ts |
| 34 | + ^ |
| 35 | + source.ts meta.function.ts meta.function.type.parameter.ts |
| 36 | + ^^^^^^ |
| 37 | + source.ts meta.function.ts meta.function.type.parameter.ts variable.parameter.ts |
| 38 | + ^ |
| 39 | + source.ts meta.function.ts meta.function.type.parameter.ts |
| 40 | + ^ |
| 41 | + source.ts meta.function.ts meta.function.type.parameter.ts |
| 42 | + ^^^^^^ |
| 43 | + source.ts meta.function.ts meta.function.type.parameter.ts variable.parameter.ts |
| 44 | + ^ |
| 45 | + source.ts meta.function.ts meta.function.type.parameter.ts |
| 46 | + ^ |
| 47 | + source.ts meta.function.ts meta.function.type.parameter.ts |
| 48 | + ^^^^^^^ |
| 49 | + source.ts meta.function.ts meta.function.type.parameter.ts variable.parameter.ts |
| 50 | + ^ |
| 51 | + source.ts meta.function.ts meta.function.type.parameter.ts punctuation.definition.parameters.end.ts |
| 52 | + ^ |
| 53 | + source.ts meta.function.ts |
| 54 | + ^ |
| 55 | + source.ts meta.function.ts meta.block.ts punctuation.definition.block.ts |
| 56 | +> let y = (number) => { |
| 57 | + ^^ |
| 58 | + source.ts meta.function.ts meta.block.ts |
| 59 | + ^^^ |
| 60 | + source.ts meta.function.ts meta.block.ts meta.var.expr.ts storage.type.ts |
| 61 | + ^ |
| 62 | + source.ts meta.function.ts meta.block.ts meta.var.expr.ts |
| 63 | + ^ |
| 64 | + source.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.var-single-variable.expr.ts variable.other.readwrite.ts |
| 65 | + ^ |
| 66 | + source.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.var-single-variable.expr.ts |
| 67 | + ^ |
| 68 | + source.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.var-single-variable.expr.ts keyword.operator.assignment.ts |
| 69 | + ^ |
| 70 | + source.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.var-single-variable.expr.ts |
| 71 | + ^ |
| 72 | + source.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.var-single-variable.expr.ts meta.brace.round.ts |
| 73 | + ^^^^^^ |
| 74 | + source.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.var-single-variable.expr.ts |
| 75 | + ^ |
| 76 | + source.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.var-single-variable.expr.ts meta.brace.round.ts |
| 77 | + ^ |
| 78 | + source.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.var-single-variable.expr.ts |
| 79 | + ^^ |
| 80 | + source.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.var-single-variable.expr.ts storage.type.function.arrow.ts |
| 81 | + ^ |
| 82 | + source.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.var-single-variable.expr.ts meta.block.ts |
| 83 | + ^ |
| 84 | + source.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.var-single-variable.expr.ts meta.block.ts punctuation.definition.block.ts |
| 85 | +> console.log(param1); |
| 86 | + ^^^^^^^^^^^^^^^ |
| 87 | + source.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.var-single-variable.expr.ts meta.block.ts |
| 88 | + ^ |
| 89 | + source.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.var-single-variable.expr.ts meta.block.ts meta.brace.round.ts |
| 90 | + ^^^^^^ |
| 91 | + source.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.var-single-variable.expr.ts meta.block.ts |
| 92 | + ^ |
| 93 | + source.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.var-single-variable.expr.ts meta.block.ts meta.brace.round.ts |
| 94 | + ^^ |
| 95 | + source.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.var-single-variable.expr.ts meta.block.ts |
| 96 | +> } |
| 97 | + ^^ |
| 98 | + source.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.var-single-variable.expr.ts meta.block.ts |
| 99 | + ^ |
| 100 | + source.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.var-single-variable.expr.ts meta.block.ts punctuation.definition.block.ts |
| 101 | +> console.log(param1); |
| 102 | + ^^^^^^^^^^^^^ |
| 103 | + source.ts meta.function.ts meta.block.ts |
| 104 | + ^ |
| 105 | + source.ts meta.function.ts meta.block.ts meta.brace.round.ts |
| 106 | + ^^^^^^ |
| 107 | + source.ts meta.function.ts meta.block.ts |
| 108 | + ^ |
| 109 | + source.ts meta.function.ts meta.block.ts meta.brace.round.ts |
| 110 | + ^^ |
| 111 | + source.ts meta.function.ts meta.block.ts |
| 112 | +> console.log(param1 + number); |
| 113 | + ^^^^^^^^^^^^^ |
| 114 | + source.ts meta.function.ts meta.block.ts |
| 115 | + ^ |
| 116 | + source.ts meta.function.ts meta.block.ts meta.brace.round.ts |
| 117 | + ^^^^^^^ |
| 118 | + source.ts meta.function.ts meta.block.ts |
| 119 | + ^ |
| 120 | + source.ts meta.function.ts meta.block.ts keyword.operator.arithmetic.ts |
| 121 | + ^^^^^^^ |
| 122 | + source.ts meta.function.ts meta.block.ts |
| 123 | + ^ |
| 124 | + source.ts meta.function.ts meta.block.ts meta.brace.round.ts |
| 125 | + ^^ |
| 126 | + source.ts meta.function.ts meta.block.ts |
| 127 | +> console.log(string); |
| 128 | + ^^^^^^^^^^^^^ |
| 129 | + source.ts meta.function.ts meta.block.ts |
| 130 | + ^ |
| 131 | + source.ts meta.function.ts meta.block.ts meta.brace.round.ts |
| 132 | + ^^^^^^ |
| 133 | + source.ts meta.function.ts meta.block.ts |
| 134 | + ^ |
| 135 | + source.ts meta.function.ts meta.block.ts meta.brace.round.ts |
| 136 | + ^^ |
| 137 | + source.ts meta.function.ts meta.block.ts |
| 138 | +> console.log(boolean); |
| 139 | + ^^^^^^^^^^^^^ |
| 140 | + source.ts meta.function.ts meta.block.ts |
| 141 | + ^ |
| 142 | + source.ts meta.function.ts meta.block.ts meta.brace.round.ts |
| 143 | + ^^^^^^^ |
| 144 | + source.ts meta.function.ts meta.block.ts |
| 145 | + ^ |
| 146 | + source.ts meta.function.ts meta.block.ts meta.brace.round.ts |
| 147 | + ^^ |
| 148 | + source.ts meta.function.ts meta.block.ts |
| 149 | +> let x = param1 ? 2 : param2; |
| 150 | + ^^ |
| 151 | + source.ts meta.function.ts meta.block.ts |
| 152 | + ^^^ |
| 153 | + source.ts meta.function.ts meta.block.ts meta.var.expr.ts storage.type.ts |
| 154 | + ^ |
| 155 | + source.ts meta.function.ts meta.block.ts meta.var.expr.ts |
| 156 | + ^ |
| 157 | + source.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.var-single-variable.expr.ts variable.other.readwrite.ts |
| 158 | + ^ |
| 159 | + source.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.var-single-variable.expr.ts |
| 160 | + ^ |
| 161 | + source.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.var-single-variable.expr.ts keyword.operator.assignment.ts |
| 162 | + ^^^^^^^^ |
| 163 | + source.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.var-single-variable.expr.ts |
| 164 | + ^ |
| 165 | + source.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.var-single-variable.expr.ts keyword.operator.ternary.ts |
| 166 | + ^ |
| 167 | + source.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.var-single-variable.expr.ts |
| 168 | + ^ |
| 169 | + source.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.var-single-variable.expr.ts constant.numeric.decimal.ts |
| 170 | + ^ |
| 171 | + source.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.var-single-variable.expr.ts |
| 172 | + ^ |
| 173 | + source.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.var-single-variable.expr.ts keyword.operator.ternary.ts |
| 174 | + ^^^^^^^ |
| 175 | + source.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.var-single-variable.expr.ts |
| 176 | + ^^ |
| 177 | + source.ts meta.function.ts meta.block.ts |
| 178 | +>} |
| 179 | + ^ |
| 180 | + source.ts meta.function.ts meta.block.ts punctuation.definition.block.ts |
0 commit comments