qsharp-lang 1.1.6-dev → 1.2.1-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (281) hide show
  1. package/dist/compiler/common.d.ts +1 -0
  2. package/dist/compiler/compiler.d.ts +26 -12
  3. package/dist/compiler/compiler.js +31 -15
  4. package/dist/compiler/events.d.ts +4 -5
  5. package/dist/compiler/events.js +6 -2
  6. package/dist/debug-service/debug-service.js +4 -1
  7. package/dist/katas-content.generated.js +2102 -1155
  8. package/dist/language-service/language-service.d.ts +2 -0
  9. package/dist/language-service/language-service.js +4 -0
  10. package/dist/workers/common.d.ts +19 -1
  11. package/dist/workers/common.js +49 -11
  12. package/docs/Microsoft.Quantum.Arrays/All.md +1 -1
  13. package/docs/Microsoft.Quantum.Arrays/Any.md +1 -1
  14. package/docs/Microsoft.Quantum.Arrays/Chunks.md +1 -1
  15. package/docs/Microsoft.Quantum.Arrays/CircularlyShifted.md +1 -1
  16. package/docs/Microsoft.Quantum.Arrays/ColumnAt.md +1 -1
  17. package/docs/Microsoft.Quantum.Arrays/Count.md +1 -1
  18. package/docs/Microsoft.Quantum.Arrays/Diagonal.md +1 -1
  19. package/docs/Microsoft.Quantum.Arrays/DrawMany.md +1 -1
  20. package/docs/Microsoft.Quantum.Arrays/Enumerated.md +1 -1
  21. package/docs/Microsoft.Quantum.Arrays/Excluding.md +1 -1
  22. package/docs/Microsoft.Quantum.Arrays/Filtered.md +1 -1
  23. package/docs/Microsoft.Quantum.Arrays/FlatMapped.md +1 -1
  24. package/docs/Microsoft.Quantum.Arrays/Flattened.md +1 -1
  25. package/docs/Microsoft.Quantum.Arrays/Fold.md +1 -1
  26. package/docs/Microsoft.Quantum.Arrays/ForEach.md +1 -1
  27. package/docs/Microsoft.Quantum.Arrays/Head.md +1 -1
  28. package/docs/Microsoft.Quantum.Arrays/HeadAndRest.md +1 -1
  29. package/docs/Microsoft.Quantum.Arrays/IndexOf.md +1 -1
  30. package/docs/Microsoft.Quantum.Arrays/IndexRange.md +1 -1
  31. package/docs/Microsoft.Quantum.Arrays/Interleaved.md +1 -1
  32. package/docs/Microsoft.Quantum.Arrays/IsEmpty.md +1 -1
  33. package/docs/Microsoft.Quantum.Arrays/IsRectangularArray.md +1 -1
  34. package/docs/Microsoft.Quantum.Arrays/IsSorted.md +1 -1
  35. package/docs/Microsoft.Quantum.Arrays/IsSquareArray.md +1 -1
  36. package/docs/Microsoft.Quantum.Arrays/Mapped.md +1 -1
  37. package/docs/Microsoft.Quantum.Arrays/MappedByIndex.md +1 -1
  38. package/docs/Microsoft.Quantum.Arrays/MappedOverRange.md +1 -1
  39. package/docs/Microsoft.Quantum.Arrays/Most.md +1 -1
  40. package/docs/Microsoft.Quantum.Arrays/MostAndTail.md +1 -1
  41. package/docs/Microsoft.Quantum.Arrays/Padded.md +1 -1
  42. package/docs/Microsoft.Quantum.Arrays/Partitioned.md +1 -1
  43. package/docs/Microsoft.Quantum.Arrays/Rest.md +1 -1
  44. package/docs/Microsoft.Quantum.Arrays/Reversed.md +1 -1
  45. package/docs/Microsoft.Quantum.Arrays/SequenceI.md +1 -1
  46. package/docs/Microsoft.Quantum.Arrays/SequenceL.md +1 -1
  47. package/docs/Microsoft.Quantum.Arrays/Sorted.md +1 -1
  48. package/docs/Microsoft.Quantum.Arrays/Subarray.md +1 -1
  49. package/docs/Microsoft.Quantum.Arrays/Swapped.md +1 -1
  50. package/docs/Microsoft.Quantum.Arrays/Tail.md +1 -1
  51. package/docs/Microsoft.Quantum.Arrays/Transposed.md +1 -1
  52. package/docs/Microsoft.Quantum.Arrays/Unzipped.md +1 -1
  53. package/docs/Microsoft.Quantum.Arrays/Where.md +1 -1
  54. package/docs/Microsoft.Quantum.Arrays/Windows.md +1 -1
  55. package/docs/Microsoft.Quantum.Arrays/Zipped.md +1 -1
  56. package/docs/Microsoft.Quantum.Canon/ApplyCNOTChain.md +1 -1
  57. package/docs/Microsoft.Quantum.Canon/ApplyControlledOnBitString.md +1 -1
  58. package/docs/Microsoft.Quantum.Canon/ApplyControlledOnInt.md +1 -1
  59. package/docs/Microsoft.Quantum.Canon/ApplyP.md +1 -1
  60. package/docs/Microsoft.Quantum.Canon/ApplyPauli.md +1 -1
  61. package/docs/Microsoft.Quantum.Canon/ApplyPauliFromBitString.md +1 -1
  62. package/docs/Microsoft.Quantum.Canon/ApplyPauliFromInt.md +1 -1
  63. package/docs/Microsoft.Quantum.Canon/ApplyQFT.md +1 -1
  64. package/docs/Microsoft.Quantum.Canon/ApplyToEach.md +1 -1
  65. package/docs/Microsoft.Quantum.Canon/ApplyToEachA.md +1 -1
  66. package/docs/Microsoft.Quantum.Canon/ApplyToEachC.md +1 -1
  67. package/docs/Microsoft.Quantum.Canon/ApplyToEachCA.md +1 -1
  68. package/docs/Microsoft.Quantum.Canon/ApplyXorInPlace.md +1 -1
  69. package/docs/Microsoft.Quantum.Canon/ApplyXorInPlaceL.md +1 -1
  70. package/docs/Microsoft.Quantum.Canon/CX.md +1 -1
  71. package/docs/Microsoft.Quantum.Canon/CY.md +1 -1
  72. package/docs/Microsoft.Quantum.Canon/CZ.md +1 -1
  73. package/docs/Microsoft.Quantum.Canon/Fst.md +1 -1
  74. package/docs/Microsoft.Quantum.Canon/Snd.md +1 -1
  75. package/docs/Microsoft.Quantum.Canon/SwapReverseRegister.md +1 -1
  76. package/docs/Microsoft.Quantum.Convert/BigIntAsBoolArray.md +1 -1
  77. package/docs/Microsoft.Quantum.Convert/BoolArrayAsBigInt.md +1 -1
  78. package/docs/Microsoft.Quantum.Convert/BoolArrayAsInt.md +1 -1
  79. package/docs/Microsoft.Quantum.Convert/BoolArrayAsResultArray.md +1 -1
  80. package/docs/Microsoft.Quantum.Convert/BoolAsResult.md +1 -1
  81. package/docs/Microsoft.Quantum.Convert/ComplexAsComplexPolar.md +1 -1
  82. package/docs/Microsoft.Quantum.Convert/ComplexPolarAsComplex.md +1 -1
  83. package/docs/Microsoft.Quantum.Convert/IntAsBigInt.md +1 -1
  84. package/docs/Microsoft.Quantum.Convert/IntAsBoolArray.md +1 -1
  85. package/docs/Microsoft.Quantum.Convert/IntAsDouble.md +1 -1
  86. package/docs/Microsoft.Quantum.Convert/ResultArrayAsBoolArray.md +1 -1
  87. package/docs/Microsoft.Quantum.Convert/ResultArrayAsInt.md +1 -1
  88. package/docs/Microsoft.Quantum.Convert/ResultAsBool.md +1 -1
  89. package/docs/Microsoft.Quantum.Core/IsRangeEmpty.md +1 -1
  90. package/docs/Microsoft.Quantum.Core/Length.md +1 -1
  91. package/docs/Microsoft.Quantum.Core/RangeEnd.md +1 -1
  92. package/docs/Microsoft.Quantum.Core/RangeReverse.md +1 -1
  93. package/docs/Microsoft.Quantum.Core/RangeStart.md +1 -1
  94. package/docs/Microsoft.Quantum.Core/RangeStep.md +1 -1
  95. package/docs/Microsoft.Quantum.Core/Repeated.md +1 -1
  96. package/docs/Microsoft.Quantum.Diagnostics/CheckAllZero.md +1 -1
  97. package/docs/Microsoft.Quantum.Diagnostics/CheckOperationsAreEqual.md +1 -1
  98. package/docs/Microsoft.Quantum.Diagnostics/CheckZero.md +1 -1
  99. package/docs/Microsoft.Quantum.Diagnostics/DumpMachine.md +28 -2
  100. package/docs/Microsoft.Quantum.Diagnostics/DumpRegister.md +51 -0
  101. package/docs/Microsoft.Quantum.Diagnostics/Fact.md +1 -1
  102. package/docs/Microsoft.Quantum.Intrinsic/CCNOT.md +1 -1
  103. package/docs/Microsoft.Quantum.Intrinsic/CNOT.md +1 -1
  104. package/docs/Microsoft.Quantum.Intrinsic/Exp.md +1 -1
  105. package/docs/Microsoft.Quantum.Intrinsic/H.md +1 -1
  106. package/docs/Microsoft.Quantum.Intrinsic/I.md +1 -1
  107. package/docs/Microsoft.Quantum.Intrinsic/M.md +1 -1
  108. package/docs/Microsoft.Quantum.Intrinsic/Measure.md +1 -1
  109. package/docs/Microsoft.Quantum.Intrinsic/Message.md +1 -1
  110. package/docs/Microsoft.Quantum.Intrinsic/R.md +1 -1
  111. package/docs/Microsoft.Quantum.Intrinsic/R1.md +1 -1
  112. package/docs/Microsoft.Quantum.Intrinsic/R1Frac.md +1 -1
  113. package/docs/Microsoft.Quantum.Intrinsic/RFrac.md +1 -1
  114. package/docs/Microsoft.Quantum.Intrinsic/Reset.md +1 -1
  115. package/docs/Microsoft.Quantum.Intrinsic/ResetAll.md +1 -1
  116. package/docs/Microsoft.Quantum.Intrinsic/Rx.md +1 -1
  117. package/docs/Microsoft.Quantum.Intrinsic/Rxx.md +1 -1
  118. package/docs/Microsoft.Quantum.Intrinsic/Ry.md +1 -1
  119. package/docs/Microsoft.Quantum.Intrinsic/Ryy.md +1 -1
  120. package/docs/Microsoft.Quantum.Intrinsic/Rz.md +1 -1
  121. package/docs/Microsoft.Quantum.Intrinsic/Rzz.md +1 -1
  122. package/docs/Microsoft.Quantum.Intrinsic/S.md +1 -1
  123. package/docs/Microsoft.Quantum.Intrinsic/SWAP.md +1 -1
  124. package/docs/Microsoft.Quantum.Intrinsic/T.md +1 -1
  125. package/docs/Microsoft.Quantum.Intrinsic/X.md +1 -1
  126. package/docs/Microsoft.Quantum.Intrinsic/Y.md +1 -1
  127. package/docs/Microsoft.Quantum.Intrinsic/Z.md +1 -1
  128. package/docs/Microsoft.Quantum.Logical/Xor.md +1 -1
  129. package/docs/Microsoft.Quantum.Math/AbsComplex.md +1 -1
  130. package/docs/Microsoft.Quantum.Math/AbsComplexPolar.md +1 -1
  131. package/docs/Microsoft.Quantum.Math/AbsD.md +1 -1
  132. package/docs/Microsoft.Quantum.Math/AbsI.md +1 -1
  133. package/docs/Microsoft.Quantum.Math/AbsL.md +1 -1
  134. package/docs/Microsoft.Quantum.Math/AbsSquaredComplex.md +1 -1
  135. package/docs/Microsoft.Quantum.Math/AbsSquaredComplexPolar.md +1 -1
  136. package/docs/Microsoft.Quantum.Math/ApproximateFactorial.md +1 -1
  137. package/docs/Microsoft.Quantum.Math/ArcCos.md +1 -1
  138. package/docs/Microsoft.Quantum.Math/ArcCosh.md +1 -1
  139. package/docs/Microsoft.Quantum.Math/ArcSin.md +1 -1
  140. package/docs/Microsoft.Quantum.Math/ArcSinh.md +1 -1
  141. package/docs/Microsoft.Quantum.Math/ArcTan.md +1 -1
  142. package/docs/Microsoft.Quantum.Math/ArcTan2.md +1 -1
  143. package/docs/Microsoft.Quantum.Math/ArcTanh.md +1 -1
  144. package/docs/Microsoft.Quantum.Math/ArgComplex.md +1 -1
  145. package/docs/Microsoft.Quantum.Math/ArgComplexPolar.md +1 -1
  146. package/docs/Microsoft.Quantum.Math/Binom.md +1 -1
  147. package/docs/Microsoft.Quantum.Math/BitSizeI.md +1 -1
  148. package/docs/Microsoft.Quantum.Math/BitSizeL.md +1 -1
  149. package/docs/Microsoft.Quantum.Math/Ceiling.md +1 -1
  150. package/docs/Microsoft.Quantum.Math/Complex.md +1 -1
  151. package/docs/Microsoft.Quantum.Math/ComplexPolar.md +1 -1
  152. package/docs/Microsoft.Quantum.Math/ContinuedFractionConvergentI.md +1 -1
  153. package/docs/Microsoft.Quantum.Math/ContinuedFractionConvergentL.md +1 -1
  154. package/docs/Microsoft.Quantum.Math/Cos.md +1 -1
  155. package/docs/Microsoft.Quantum.Math/Cosh.md +1 -1
  156. package/docs/Microsoft.Quantum.Math/DivRemI.md +1 -1
  157. package/docs/Microsoft.Quantum.Math/DivRemL.md +1 -1
  158. package/docs/Microsoft.Quantum.Math/DividedByC.md +1 -1
  159. package/docs/Microsoft.Quantum.Math/DividedByCP.md +1 -1
  160. package/docs/Microsoft.Quantum.Math/E.md +1 -1
  161. package/docs/Microsoft.Quantum.Math/ExpModI.md +1 -1
  162. package/docs/Microsoft.Quantum.Math/ExpModL.md +1 -1
  163. package/docs/Microsoft.Quantum.Math/ExtendedGreatestCommonDivisorI.md +1 -1
  164. package/docs/Microsoft.Quantum.Math/ExtendedGreatestCommonDivisorL.md +1 -1
  165. package/docs/Microsoft.Quantum.Math/FactorialI.md +1 -1
  166. package/docs/Microsoft.Quantum.Math/FactorialL.md +1 -1
  167. package/docs/Microsoft.Quantum.Math/Floor.md +1 -1
  168. package/docs/Microsoft.Quantum.Math/GreatestCommonDivisorI.md +1 -1
  169. package/docs/Microsoft.Quantum.Math/GreatestCommonDivisorL.md +1 -1
  170. package/docs/Microsoft.Quantum.Math/HammingWeightI.md +1 -1
  171. package/docs/Microsoft.Quantum.Math/InverseModI.md +1 -1
  172. package/docs/Microsoft.Quantum.Math/InverseModL.md +1 -1
  173. package/docs/Microsoft.Quantum.Math/IsCoprimeI.md +1 -1
  174. package/docs/Microsoft.Quantum.Math/IsCoprimeL.md +1 -1
  175. package/docs/Microsoft.Quantum.Math/IsInfinite.md +1 -1
  176. package/docs/Microsoft.Quantum.Math/IsNaN.md +1 -1
  177. package/docs/Microsoft.Quantum.Math/LargestFixedPoint.md +1 -1
  178. package/docs/Microsoft.Quantum.Math/Lg.md +1 -1
  179. package/docs/Microsoft.Quantum.Math/Log.md +1 -1
  180. package/docs/Microsoft.Quantum.Math/Log10.md +1 -1
  181. package/docs/Microsoft.Quantum.Math/LogFactorialD.md +1 -1
  182. package/docs/Microsoft.Quantum.Math/LogGammaD.md +1 -1
  183. package/docs/Microsoft.Quantum.Math/LogOf2.md +1 -1
  184. package/docs/Microsoft.Quantum.Math/Max.md +1 -1
  185. package/docs/Microsoft.Quantum.Math/MaxD.md +1 -1
  186. package/docs/Microsoft.Quantum.Math/MaxI.md +1 -1
  187. package/docs/Microsoft.Quantum.Math/MaxL.md +1 -1
  188. package/docs/Microsoft.Quantum.Math/Min.md +1 -1
  189. package/docs/Microsoft.Quantum.Math/MinD.md +1 -1
  190. package/docs/Microsoft.Quantum.Math/MinI.md +1 -1
  191. package/docs/Microsoft.Quantum.Math/MinL.md +1 -1
  192. package/docs/Microsoft.Quantum.Math/MinusC.md +1 -1
  193. package/docs/Microsoft.Quantum.Math/MinusCP.md +1 -1
  194. package/docs/Microsoft.Quantum.Math/ModulusI.md +1 -1
  195. package/docs/Microsoft.Quantum.Math/ModulusL.md +1 -1
  196. package/docs/Microsoft.Quantum.Math/NegationC.md +1 -1
  197. package/docs/Microsoft.Quantum.Math/NegationCP.md +1 -1
  198. package/docs/Microsoft.Quantum.Math/PI.md +2 -2
  199. package/docs/Microsoft.Quantum.Math/PNorm.md +1 -1
  200. package/docs/Microsoft.Quantum.Math/PNormalized.md +1 -1
  201. package/docs/Microsoft.Quantum.Math/PlusC.md +1 -1
  202. package/docs/Microsoft.Quantum.Math/PlusCP.md +1 -1
  203. package/docs/Microsoft.Quantum.Math/PowC.md +1 -1
  204. package/docs/Microsoft.Quantum.Math/PowCP.md +1 -1
  205. package/docs/Microsoft.Quantum.Math/RealMod.md +1 -1
  206. package/docs/Microsoft.Quantum.Math/Round.md +1 -1
  207. package/docs/Microsoft.Quantum.Math/SignD.md +1 -1
  208. package/docs/Microsoft.Quantum.Math/SignI.md +1 -1
  209. package/docs/Microsoft.Quantum.Math/SignL.md +1 -1
  210. package/docs/Microsoft.Quantum.Math/Sin.md +1 -1
  211. package/docs/Microsoft.Quantum.Math/Sinh.md +1 -1
  212. package/docs/Microsoft.Quantum.Math/SmallestFixedPoint.md +1 -1
  213. package/docs/Microsoft.Quantum.Math/Sqrt.md +1 -1
  214. package/docs/Microsoft.Quantum.Math/SquaredNorm.md +1 -1
  215. package/docs/Microsoft.Quantum.Math/Tan.md +1 -1
  216. package/docs/Microsoft.Quantum.Math/Tanh.md +1 -1
  217. package/docs/Microsoft.Quantum.Math/TimesC.md +1 -1
  218. package/docs/Microsoft.Quantum.Math/TimesCP.md +1 -1
  219. package/docs/Microsoft.Quantum.Math/TrailingZeroCountI.md +1 -1
  220. package/docs/Microsoft.Quantum.Math/TrailingZeroCountL.md +1 -1
  221. package/docs/Microsoft.Quantum.Math/Truncate.md +1 -1
  222. package/docs/Microsoft.Quantum.Measurement/MResetEachZ.md +1 -1
  223. package/docs/Microsoft.Quantum.Measurement/MResetX.md +1 -1
  224. package/docs/Microsoft.Quantum.Measurement/MResetY.md +1 -1
  225. package/docs/Microsoft.Quantum.Measurement/MResetZ.md +1 -1
  226. package/docs/Microsoft.Quantum.Measurement/MeasureAllZ.md +1 -1
  227. package/docs/Microsoft.Quantum.Measurement/MeasureEachZ.md +1 -1
  228. package/docs/Microsoft.Quantum.Measurement/MeasureInteger.md +1 -1
  229. package/docs/Microsoft.Quantum.Random/DrawRandomDouble.md +1 -1
  230. package/docs/Microsoft.Quantum.Random/DrawRandomInt.md +1 -1
  231. package/docs/Microsoft.Quantum.ResourceEstimation/AccountForEstimates.md +1 -1
  232. package/docs/Microsoft.Quantum.ResourceEstimation/AuxQubitCount.md +1 -1
  233. package/docs/Microsoft.Quantum.ResourceEstimation/BeginEstimateCaching.md +1 -1
  234. package/docs/Microsoft.Quantum.ResourceEstimation/BeginRepeatEstimates.md +1 -1
  235. package/docs/Microsoft.Quantum.ResourceEstimation/CczCount.md +1 -1
  236. package/docs/Microsoft.Quantum.ResourceEstimation/EndEstimateCaching.md +1 -1
  237. package/docs/Microsoft.Quantum.ResourceEstimation/EndRepeatEstimates.md +1 -1
  238. package/docs/Microsoft.Quantum.ResourceEstimation/MeasurementCount.md +1 -1
  239. package/docs/Microsoft.Quantum.ResourceEstimation/PSSPCLayout.md +1 -1
  240. package/docs/Microsoft.Quantum.ResourceEstimation/RepeatEstimates.md +1 -1
  241. package/docs/Microsoft.Quantum.ResourceEstimation/RotationCount.md +1 -1
  242. package/docs/Microsoft.Quantum.ResourceEstimation/RotationDepth.md +1 -1
  243. package/docs/Microsoft.Quantum.ResourceEstimation/SingleVariant.md +1 -1
  244. package/docs/Microsoft.Quantum.ResourceEstimation/TCount.md +1 -1
  245. package/docs/Microsoft.Quantum.Unstable.Arithmetic/AddLE.md +1 -1
  246. package/docs/Microsoft.Quantum.Unstable.Arithmetic/ApplyIfEqualL.md +1 -1
  247. package/docs/Microsoft.Quantum.Unstable.Arithmetic/ApplyIfEqualLE.md +1 -1
  248. package/docs/Microsoft.Quantum.Unstable.Arithmetic/ApplyIfGreaterL.md +1 -1
  249. package/docs/Microsoft.Quantum.Unstable.Arithmetic/ApplyIfGreaterLE.md +1 -1
  250. package/docs/Microsoft.Quantum.Unstable.Arithmetic/ApplyIfGreaterOrEqualL.md +1 -1
  251. package/docs/Microsoft.Quantum.Unstable.Arithmetic/ApplyIfGreaterOrEqualLE.md +1 -1
  252. package/docs/Microsoft.Quantum.Unstable.Arithmetic/ApplyIfLessL.md +1 -1
  253. package/docs/Microsoft.Quantum.Unstable.Arithmetic/ApplyIfLessLE.md +1 -1
  254. package/docs/Microsoft.Quantum.Unstable.Arithmetic/ApplyIfLessOrEqualL.md +1 -1
  255. package/docs/Microsoft.Quantum.Unstable.Arithmetic/ApplyIfLessOrEqualLE.md +1 -1
  256. package/docs/Microsoft.Quantum.Unstable.Arithmetic/FourierTDIncByLE.md +1 -1
  257. package/docs/Microsoft.Quantum.Unstable.Arithmetic/IncByI.md +1 -1
  258. package/docs/Microsoft.Quantum.Unstable.Arithmetic/IncByIUsingIncByLE.md +1 -1
  259. package/docs/Microsoft.Quantum.Unstable.Arithmetic/IncByL.md +1 -1
  260. package/docs/Microsoft.Quantum.Unstable.Arithmetic/IncByLE.md +1 -1
  261. package/docs/Microsoft.Quantum.Unstable.Arithmetic/IncByLEUsingAddLE.md +2 -2
  262. package/docs/Microsoft.Quantum.Unstable.Arithmetic/IncByLUsingIncByLE.md +1 -1
  263. package/docs/Microsoft.Quantum.Unstable.Arithmetic/LookAheadDKRSAddLE.md +1 -1
  264. package/docs/Microsoft.Quantum.Unstable.Arithmetic/MAJ.md +1 -1
  265. package/docs/Microsoft.Quantum.Unstable.Arithmetic/ReflectAboutInteger.md +1 -1
  266. package/docs/Microsoft.Quantum.Unstable.Arithmetic/RippleCarryCGAddLE.md +1 -1
  267. package/docs/Microsoft.Quantum.Unstable.Arithmetic/RippleCarryCGIncByLE.md +1 -1
  268. package/docs/Microsoft.Quantum.Unstable.Arithmetic/RippleCarryTTKIncByLE.md +2 -2
  269. package/docs/Microsoft.Quantum.Unstable.StatePreparation/ApproximatelyPreparePureStateCP.md +1 -1
  270. package/docs/Microsoft.Quantum.Unstable.StatePreparation/PreparePureStateD.md +1 -1
  271. package/docs/Microsoft.Quantum.Unstable.TableLookup/Select.md +1 -1
  272. package/docs/toc.yml +1 -0
  273. package/lib/node/qsc_wasm.cjs +173 -78
  274. package/lib/node/qsc_wasm.d.cts +6 -2
  275. package/lib/node/qsc_wasm_bg.wasm +0 -0
  276. package/lib/web/qsc_wasm.d.ts +7 -2
  277. package/lib/web/qsc_wasm.js +163 -75
  278. package/lib/web/qsc_wasm_bg.wasm +0 -0
  279. package/package.json +1 -1
  280. package/ux/output_data.md +1 -1
  281. package/ux/report.ts +1 -1
@@ -67,6 +67,7 @@ function passStringToWasm0(arg, malloc, realloc) {
67
67
  const ret = encodeString(arg, view);
68
68
 
69
69
  offset += ret.written;
70
+ ptr = realloc(ptr, len, offset, 1) >>> 0;
70
71
  }
71
72
 
72
73
  WASM_VECTOR_LEN = offset;
@@ -109,6 +110,15 @@ function takeObject(idx) {
109
110
  return ret;
110
111
  }
111
112
 
113
+ let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
114
+
115
+ cachedTextDecoder.decode();
116
+
117
+ function getStringFromWasm0(ptr, len) {
118
+ ptr = ptr >>> 0;
119
+ return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
120
+ }
121
+
112
122
  function addHeapObject(obj) {
113
123
  if (heap_next === heap.length) heap.push(heap.length + 1);
114
124
  const idx = heap_next;
@@ -118,13 +128,13 @@ function addHeapObject(obj) {
118
128
  return idx;
119
129
  }
120
130
 
121
- let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
122
-
123
- cachedTextDecoder.decode();
131
+ let cachedBigInt64Memory0 = null;
124
132
 
125
- function getStringFromWasm0(ptr, len) {
126
- ptr = ptr >>> 0;
127
- return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
133
+ function getBigInt64Memory0() {
134
+ if (cachedBigInt64Memory0 === null || cachedBigInt64Memory0.byteLength === 0) {
135
+ cachedBigInt64Memory0 = new BigInt64Array(wasm.memory.buffer);
136
+ }
137
+ return cachedBigInt64Memory0;
128
138
  }
129
139
 
130
140
  function debugString(val) {
@@ -192,6 +202,12 @@ function debugString(val) {
192
202
  return className;
193
203
  }
194
204
 
205
+ const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
206
+ ? { register: () => {}, unregister: () => {} }
207
+ : new FinalizationRegistry(state => {
208
+ wasm.__wbindgen_export_2.get(state.dtor)(state.a, state.b)
209
+ });
210
+
195
211
  function makeMutClosure(arg0, arg1, dtor, f) {
196
212
  const state = { a: arg0, b: arg1, cnt: 1, dtor };
197
213
  const real = (...args) => {
@@ -206,17 +222,17 @@ function makeMutClosure(arg0, arg1, dtor, f) {
206
222
  } finally {
207
223
  if (--state.cnt === 0) {
208
224
  wasm.__wbindgen_export_2.get(state.dtor)(a, state.b);
209
-
225
+ CLOSURE_DTORS.unregister(state);
210
226
  } else {
211
227
  state.a = a;
212
228
  }
213
229
  }
214
230
  };
215
231
  real.original = state;
216
-
232
+ CLOSURE_DTORS.register(real, state, state);
217
233
  return real;
218
234
  }
219
- function __wbg_adapter_46(arg0, arg1, arg2) {
235
+ function __wbg_adapter_54(arg0, arg1, arg2) {
220
236
  wasm.__wbindgen_export_3(arg0, arg1, addHeapObject(arg2));
221
237
  }
222
238
 
@@ -500,13 +516,17 @@ function handleError(f, args) {
500
516
  wasm.__wbindgen_export_5(addHeapObject(e));
501
517
  }
502
518
  }
503
- function __wbg_adapter_153(arg0, arg1, arg2, arg3) {
519
+ function __wbg_adapter_170(arg0, arg1, arg2, arg3) {
504
520
  wasm.__wbindgen_export_6(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
505
521
  }
506
522
 
507
523
  /**
508
524
  */
509
525
  module.exports.StepResultId = Object.freeze({ BreakpointHit:0,"0":"BreakpointHit",Next:1,"1":"Next",StepIn:2,"2":"StepIn",StepOut:3,"3":"StepOut",Return:4,"4":"Return", });
526
+
527
+ const DebugServiceFinalization = (typeof FinalizationRegistry === 'undefined')
528
+ ? { register: () => {}, unregister: () => {} }
529
+ : new FinalizationRegistry(ptr => wasm.__wbg_debugservice_free(ptr >>> 0));
510
530
  /**
511
531
  */
512
532
  class DebugService {
@@ -514,7 +534,7 @@ class DebugService {
514
534
  __destroy_into_raw() {
515
535
  const ptr = this.__wbg_ptr;
516
536
  this.__wbg_ptr = 0;
517
-
537
+ DebugServiceFinalization.unregister(this);
518
538
  return ptr;
519
539
  }
520
540
 
@@ -685,6 +705,10 @@ class DebugService {
685
705
  }
686
706
  }
687
707
  module.exports.DebugService = DebugService;
708
+
709
+ const LanguageServiceFinalization = (typeof FinalizationRegistry === 'undefined')
710
+ ? { register: () => {}, unregister: () => {} }
711
+ : new FinalizationRegistry(ptr => wasm.__wbg_languageservice_free(ptr >>> 0));
688
712
  /**
689
713
  */
690
714
  class LanguageService {
@@ -692,7 +716,7 @@ class LanguageService {
692
716
  __destroy_into_raw() {
693
717
  const ptr = this.__wbg_ptr;
694
718
  this.__wbg_ptr = 0;
695
-
719
+ LanguageServiceFinalization.unregister(this);
696
720
  return ptr;
697
721
  }
698
722
 
@@ -814,6 +838,25 @@ class LanguageService {
814
838
  }
815
839
  /**
816
840
  * @param {string} uri
841
+ * @returns {(ITextEdit)[]}
842
+ */
843
+ get_format_changes(uri) {
844
+ try {
845
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
846
+ const ptr0 = passStringToWasm0(uri, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
847
+ const len0 = WASM_VECTOR_LEN;
848
+ wasm.languageservice_get_format_changes(retptr, this.__wbg_ptr, ptr0, len0);
849
+ var r0 = getInt32Memory0()[retptr / 4 + 0];
850
+ var r1 = getInt32Memory0()[retptr / 4 + 1];
851
+ var v2 = getArrayJsValueFromWasm0(r0, r1).slice();
852
+ wasm.__wbindgen_export_4(r0, r1 * 4, 4);
853
+ return v2;
854
+ } finally {
855
+ wasm.__wbindgen_add_to_stack_pointer(16);
856
+ }
857
+ }
858
+ /**
859
+ * @param {string} uri
817
860
  * @param {IPosition} position
818
861
  * @returns {IHover | undefined}
819
862
  */
@@ -880,6 +923,10 @@ class LanguageService {
880
923
  }
881
924
  }
882
925
  module.exports.LanguageService = LanguageService;
926
+
927
+ const ProjectLoaderFinalization = (typeof FinalizationRegistry === 'undefined')
928
+ ? { register: () => {}, unregister: () => {} }
929
+ : new FinalizationRegistry(ptr => wasm.__wbg_projectloader_free(ptr >>> 0));
883
930
  /**
884
931
  * a minimal implementation for interacting with async JS filesystem callbacks to
885
932
  * load project files
@@ -889,7 +936,7 @@ class ProjectLoader {
889
936
  __destroy_into_raw() {
890
937
  const ptr = this.__wbg_ptr;
891
938
  this.__wbg_ptr = 0;
892
-
939
+ ProjectLoaderFinalization.unregister(this);
893
940
  return ptr;
894
941
  }
895
942
 
@@ -938,6 +985,32 @@ module.exports.__wbindgen_object_drop_ref = function(arg0) {
938
985
  takeObject(arg0);
939
986
  };
940
987
 
988
+ module.exports.__wbindgen_is_object = function(arg0) {
989
+ const val = getObject(arg0);
990
+ const ret = typeof(val) === 'object' && val !== null;
991
+ return ret;
992
+ };
993
+
994
+ module.exports.__wbindgen_is_undefined = function(arg0) {
995
+ const ret = getObject(arg0) === undefined;
996
+ return ret;
997
+ };
998
+
999
+ module.exports.__wbindgen_in = function(arg0, arg1) {
1000
+ const ret = getObject(arg0) in getObject(arg1);
1001
+ return ret;
1002
+ };
1003
+
1004
+ module.exports.__wbindgen_is_string = function(arg0) {
1005
+ const ret = typeof(getObject(arg0)) === 'string';
1006
+ return ret;
1007
+ };
1008
+
1009
+ module.exports.__wbindgen_error_new = function(arg0, arg1) {
1010
+ const ret = new Error(getStringFromWasm0(arg0, arg1));
1011
+ return addHeapObject(ret);
1012
+ };
1013
+
941
1014
  module.exports.__wbindgen_cb_drop = function(arg0) {
942
1015
  const obj = takeObject(arg0).original;
943
1016
  if (obj.cnt-- == 1) {
@@ -948,19 +1021,24 @@ module.exports.__wbindgen_cb_drop = function(arg0) {
948
1021
  return ret;
949
1022
  };
950
1023
 
951
- module.exports.__wbindgen_is_object = function(arg0) {
952
- const val = getObject(arg0);
953
- const ret = typeof(val) === 'object' && val !== null;
1024
+ module.exports.__wbindgen_boolean_get = function(arg0) {
1025
+ const v = getObject(arg0);
1026
+ const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
954
1027
  return ret;
955
1028
  };
956
1029
 
957
- module.exports.__wbindgen_is_undefined = function(arg0) {
958
- const ret = getObject(arg0) === undefined;
1030
+ module.exports.__wbindgen_is_bigint = function(arg0) {
1031
+ const ret = typeof(getObject(arg0)) === 'bigint';
959
1032
  return ret;
960
1033
  };
961
1034
 
962
- module.exports.__wbindgen_in = function(arg0, arg1) {
963
- const ret = getObject(arg0) in getObject(arg1);
1035
+ module.exports.__wbindgen_bigint_from_i64 = function(arg0) {
1036
+ const ret = arg0;
1037
+ return addHeapObject(ret);
1038
+ };
1039
+
1040
+ module.exports.__wbindgen_jsval_eq = function(arg0, arg1) {
1041
+ const ret = getObject(arg0) === getObject(arg1);
964
1042
  return ret;
965
1043
  };
966
1044
 
@@ -969,11 +1047,6 @@ module.exports.__wbindgen_bigint_from_u64 = function(arg0) {
969
1047
  return addHeapObject(ret);
970
1048
  };
971
1049
 
972
- module.exports.__wbindgen_error_new = function(arg0, arg1) {
973
- const ret = new Error(getStringFromWasm0(arg0, arg1));
974
- return addHeapObject(ret);
975
- };
976
-
977
1050
  module.exports.__wbindgen_number_new = function(arg0) {
978
1051
  const ret = arg0;
979
1052
  return addHeapObject(ret);
@@ -984,6 +1057,16 @@ module.exports.__wbindgen_string_new = function(arg0, arg1) {
984
1057
  return addHeapObject(ret);
985
1058
  };
986
1059
 
1060
+ module.exports.__wbg_getstacktracelimit_1795d5c8573c0904 = function(arg0) {
1061
+ const ret = Error.stackTraceLimit;
1062
+ getInt32Memory0()[arg0 / 4 + 1] = isLikeNone(ret) ? 0 : ret;
1063
+ getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
1064
+ };
1065
+
1066
+ module.exports.__wbg_setstacktracelimit_11f38865cc4ff17c = function(arg0) {
1067
+ Error.stackTraceLimit = arg0 >>> 0;
1068
+ };
1069
+
987
1070
  module.exports.__wbg_new_0232637a3cb0b1a7 = function() {
988
1071
  const ret = new Error();
989
1072
  return addHeapObject(ret);
@@ -1022,31 +1105,25 @@ module.exports.__wbindgen_jsval_loose_eq = function(arg0, arg1) {
1022
1105
  return ret;
1023
1106
  };
1024
1107
 
1025
- module.exports.__wbindgen_boolean_get = function(arg0) {
1026
- const v = getObject(arg0);
1027
- const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
1028
- return ret;
1029
- };
1030
-
1031
1108
  module.exports.__wbindgen_as_number = function(arg0) {
1032
1109
  const ret = +getObject(arg0);
1033
1110
  return ret;
1034
1111
  };
1035
1112
 
1036
- module.exports.__wbg_getwithrefkey_4a92a5eca60879b9 = function(arg0, arg1) {
1113
+ module.exports.__wbg_getwithrefkey_edc2c8960f0f1191 = function(arg0, arg1) {
1037
1114
  const ret = getObject(arg0)[getObject(arg1)];
1038
1115
  return addHeapObject(ret);
1039
1116
  };
1040
1117
 
1041
- module.exports.__wbg_set_9182712abebf82ef = function(arg0, arg1, arg2) {
1118
+ module.exports.__wbg_set_f975102236d3c502 = function(arg0, arg1, arg2) {
1042
1119
  getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
1043
1120
  };
1044
1121
 
1045
- module.exports.__wbg_queueMicrotask_118eeb525d584d9a = function(arg0) {
1122
+ module.exports.__wbg_queueMicrotask_481971b0d87f3dd4 = function(arg0) {
1046
1123
  queueMicrotask(getObject(arg0));
1047
1124
  };
1048
1125
 
1049
- module.exports.__wbg_queueMicrotask_26a89c14c53809c0 = function(arg0) {
1126
+ module.exports.__wbg_queueMicrotask_3cbae2ec6b6cd3d6 = function(arg0) {
1050
1127
  const ret = getObject(arg0).queueMicrotask;
1051
1128
  return addHeapObject(ret);
1052
1129
  };
@@ -1079,11 +1156,6 @@ module.exports.__wbg_node_43b1089f407e4ec2 = function(arg0) {
1079
1156
  return addHeapObject(ret);
1080
1157
  };
1081
1158
 
1082
- module.exports.__wbindgen_is_string = function(arg0) {
1083
- const ret = typeof(getObject(arg0)) === 'string';
1084
- return ret;
1085
- };
1086
-
1087
1159
  module.exports.__wbg_msCrypto_10fc94afee92bd76 = function(arg0) {
1088
1160
  const ret = getObject(arg0).msCrypto;
1089
1161
  return addHeapObject(ret);
@@ -1094,81 +1166,81 @@ module.exports.__wbg_require_9a7e0f667ead4995 = function() { return handleError(
1094
1166
  return addHeapObject(ret);
1095
1167
  }, arguments) };
1096
1168
 
1097
- module.exports.__wbg_get_c43534c00f382c8a = function(arg0, arg1) {
1169
+ module.exports.__wbg_get_bd8e338fbd5f5cc8 = function(arg0, arg1) {
1098
1170
  const ret = getObject(arg0)[arg1 >>> 0];
1099
1171
  return addHeapObject(ret);
1100
1172
  };
1101
1173
 
1102
- module.exports.__wbg_length_d99b680fd68bf71b = function(arg0) {
1174
+ module.exports.__wbg_length_cd7af8117672b8b8 = function(arg0) {
1103
1175
  const ret = getObject(arg0).length;
1104
1176
  return ret;
1105
1177
  };
1106
1178
 
1107
- module.exports.__wbg_new_34c624469fb1d4fd = function() {
1179
+ module.exports.__wbg_new_16b304a2cfa7ff4a = function() {
1108
1180
  const ret = new Array();
1109
1181
  return addHeapObject(ret);
1110
1182
  };
1111
1183
 
1112
- module.exports.__wbg_newnoargs_5859b6d41c6fe9f7 = function(arg0, arg1) {
1184
+ module.exports.__wbg_newnoargs_e258087cd0daa0ea = function(arg0, arg1) {
1113
1185
  const ret = new Function(getStringFromWasm0(arg0, arg1));
1114
1186
  return addHeapObject(ret);
1115
1187
  };
1116
1188
 
1117
- module.exports.__wbg_next_1938cf110c9491d4 = function(arg0) {
1189
+ module.exports.__wbg_next_40fc327bfc8770e6 = function(arg0) {
1118
1190
  const ret = getObject(arg0).next;
1119
1191
  return addHeapObject(ret);
1120
1192
  };
1121
1193
 
1122
- module.exports.__wbg_next_267398d0e0761bf9 = function() { return handleError(function (arg0) {
1194
+ module.exports.__wbg_next_196c84450b364254 = function() { return handleError(function (arg0) {
1123
1195
  const ret = getObject(arg0).next();
1124
1196
  return addHeapObject(ret);
1125
1197
  }, arguments) };
1126
1198
 
1127
- module.exports.__wbg_done_506b44765ba84b9c = function(arg0) {
1199
+ module.exports.__wbg_done_298b57d23c0fc80c = function(arg0) {
1128
1200
  const ret = getObject(arg0).done;
1129
1201
  return ret;
1130
1202
  };
1131
1203
 
1132
- module.exports.__wbg_value_31485d8770eb06ab = function(arg0) {
1204
+ module.exports.__wbg_value_d93c65011f51a456 = function(arg0) {
1133
1205
  const ret = getObject(arg0).value;
1134
1206
  return addHeapObject(ret);
1135
1207
  };
1136
1208
 
1137
- module.exports.__wbg_iterator_364187e1ee96b750 = function() {
1209
+ module.exports.__wbg_iterator_2cee6dadfd956dfa = function() {
1138
1210
  const ret = Symbol.iterator;
1139
1211
  return addHeapObject(ret);
1140
1212
  };
1141
1213
 
1142
- module.exports.__wbg_get_5027b32da70f39b1 = function() { return handleError(function (arg0, arg1) {
1214
+ module.exports.__wbg_get_e3c254076557e348 = function() { return handleError(function (arg0, arg1) {
1143
1215
  const ret = Reflect.get(getObject(arg0), getObject(arg1));
1144
1216
  return addHeapObject(ret);
1145
1217
  }, arguments) };
1146
1218
 
1147
- module.exports.__wbg_call_a79f1973a4f07d5e = function() { return handleError(function (arg0, arg1) {
1219
+ module.exports.__wbg_call_27c0f87801dedf93 = function() { return handleError(function (arg0, arg1) {
1148
1220
  const ret = getObject(arg0).call(getObject(arg1));
1149
1221
  return addHeapObject(ret);
1150
1222
  }, arguments) };
1151
1223
 
1152
- module.exports.__wbg_new_87d841e70661f6e9 = function() {
1224
+ module.exports.__wbg_new_72fb9a18b5ae2624 = function() {
1153
1225
  const ret = new Object();
1154
1226
  return addHeapObject(ret);
1155
1227
  };
1156
1228
 
1157
- module.exports.__wbg_set_379b27f1d5f1bf9c = function(arg0, arg1, arg2) {
1229
+ module.exports.__wbg_set_d4638f722068f043 = function(arg0, arg1, arg2) {
1158
1230
  getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
1159
1231
  };
1160
1232
 
1161
- module.exports.__wbg_isArray_fbd24d447869b527 = function(arg0) {
1233
+ module.exports.__wbg_isArray_2ab64d95e09ea0ae = function(arg0) {
1162
1234
  const ret = Array.isArray(getObject(arg0));
1163
1235
  return ret;
1164
1236
  };
1165
1237
 
1166
- module.exports.__wbg_push_906164999551d793 = function(arg0, arg1) {
1238
+ module.exports.__wbg_push_a5b05aedc7234f9f = function(arg0, arg1) {
1167
1239
  const ret = getObject(arg0).push(getObject(arg1));
1168
1240
  return ret;
1169
1241
  };
1170
1242
 
1171
- module.exports.__wbg_instanceof_ArrayBuffer_f4521cec1b99ee35 = function(arg0) {
1243
+ module.exports.__wbg_instanceof_ArrayBuffer_836825be07d4c9d2 = function(arg0) {
1172
1244
  let result;
1173
1245
  try {
1174
1246
  result = getObject(arg0) instanceof ArrayBuffer;
@@ -1179,34 +1251,50 @@ module.exports.__wbg_instanceof_ArrayBuffer_f4521cec1b99ee35 = function(arg0) {
1179
1251
  return ret;
1180
1252
  };
1181
1253
 
1182
- module.exports.__wbg_call_f6a2bc58c19c53c6 = function() { return handleError(function (arg0, arg1, arg2) {
1254
+ module.exports.__wbg_call_b3ca7c6051f9bec1 = function() { return handleError(function (arg0, arg1, arg2) {
1183
1255
  const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
1184
1256
  return addHeapObject(ret);
1185
1257
  }, arguments) };
1186
1258
 
1187
- module.exports.__wbg_call_84a3935b24cb0625 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
1259
+ module.exports.__wbg_call_938992c832f74314 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
1188
1260
  const ret = getObject(arg0).call(getObject(arg1), getObject(arg2), getObject(arg3), getObject(arg4));
1189
1261
  return addHeapObject(ret);
1190
1262
  }, arguments) };
1191
1263
 
1192
- module.exports.__wbg_isSafeInteger_d8c89788832a17bf = function(arg0) {
1264
+ module.exports.__wbg_instanceof_Map_87917e0a7aaf4012 = function(arg0) {
1265
+ let result;
1266
+ try {
1267
+ result = getObject(arg0) instanceof Map;
1268
+ } catch (_) {
1269
+ result = false;
1270
+ }
1271
+ const ret = result;
1272
+ return ret;
1273
+ };
1274
+
1275
+ module.exports.__wbg_isSafeInteger_f7b04ef02296c4d2 = function(arg0) {
1193
1276
  const ret = Number.isSafeInteger(getObject(arg0));
1194
1277
  return ret;
1195
1278
  };
1196
1279
 
1197
- module.exports.__wbg_buffer_5d1b598a01b41a42 = function(arg0) {
1280
+ module.exports.__wbg_entries_95cc2c823b285a09 = function(arg0) {
1281
+ const ret = Object.entries(getObject(arg0));
1282
+ return addHeapObject(ret);
1283
+ };
1284
+
1285
+ module.exports.__wbg_buffer_12d079cc21e14bdb = function(arg0) {
1198
1286
  const ret = getObject(arg0).buffer;
1199
1287
  return addHeapObject(ret);
1200
1288
  };
1201
1289
 
1202
- module.exports.__wbg_new_1d93771b84541aa5 = function(arg0, arg1) {
1290
+ module.exports.__wbg_new_81740750da40724f = function(arg0, arg1) {
1203
1291
  try {
1204
1292
  var state0 = {a: arg0, b: arg1};
1205
1293
  var cb0 = (arg0, arg1) => {
1206
1294
  const a = state0.a;
1207
1295
  state0.a = 0;
1208
1296
  try {
1209
- return __wbg_adapter_153(a, state0.b, arg0, arg1);
1297
+ return __wbg_adapter_170(a, state0.b, arg0, arg1);
1210
1298
  } finally {
1211
1299
  state0.a = a;
1212
1300
  }
@@ -1218,61 +1306,61 @@ module.exports.__wbg_new_1d93771b84541aa5 = function(arg0, arg1) {
1218
1306
  }
1219
1307
  };
1220
1308
 
1221
- module.exports.__wbg_resolve_97ecd55ee839391b = function(arg0) {
1309
+ module.exports.__wbg_resolve_b0083a7967828ec8 = function(arg0) {
1222
1310
  const ret = Promise.resolve(getObject(arg0));
1223
1311
  return addHeapObject(ret);
1224
1312
  };
1225
1313
 
1226
- module.exports.__wbg_then_7aeb7c5f1536640f = function(arg0, arg1) {
1314
+ module.exports.__wbg_then_0c86a60e8fcfe9f6 = function(arg0, arg1) {
1227
1315
  const ret = getObject(arg0).then(getObject(arg1));
1228
1316
  return addHeapObject(ret);
1229
1317
  };
1230
1318
 
1231
- module.exports.__wbg_then_5842e4e97f7beace = function(arg0, arg1, arg2) {
1319
+ module.exports.__wbg_then_a73caa9a87991566 = function(arg0, arg1, arg2) {
1232
1320
  const ret = getObject(arg0).then(getObject(arg1), getObject(arg2));
1233
1321
  return addHeapObject(ret);
1234
1322
  };
1235
1323
 
1236
- module.exports.__wbg_self_086b5302bcafb962 = function() { return handleError(function () {
1324
+ module.exports.__wbg_self_ce0dbfc45cf2f5be = function() { return handleError(function () {
1237
1325
  const ret = self.self;
1238
1326
  return addHeapObject(ret);
1239
1327
  }, arguments) };
1240
1328
 
1241
- module.exports.__wbg_window_132fa5d7546f1de5 = function() { return handleError(function () {
1329
+ module.exports.__wbg_window_c6fb939a7f436783 = function() { return handleError(function () {
1242
1330
  const ret = window.window;
1243
1331
  return addHeapObject(ret);
1244
1332
  }, arguments) };
1245
1333
 
1246
- module.exports.__wbg_globalThis_e5f801a37ad7d07b = function() { return handleError(function () {
1334
+ module.exports.__wbg_globalThis_d1e6af4856ba331b = function() { return handleError(function () {
1247
1335
  const ret = globalThis.globalThis;
1248
1336
  return addHeapObject(ret);
1249
1337
  }, arguments) };
1250
1338
 
1251
- module.exports.__wbg_global_f9a61fce4af6b7c1 = function() { return handleError(function () {
1339
+ module.exports.__wbg_global_207b558942527489 = function() { return handleError(function () {
1252
1340
  const ret = global.global;
1253
1341
  return addHeapObject(ret);
1254
1342
  }, arguments) };
1255
1343
 
1256
- module.exports.__wbg_newwithbyteoffsetandlength_d695c7957788f922 = function(arg0, arg1, arg2) {
1344
+ module.exports.__wbg_newwithbyteoffsetandlength_aa4a17c33a06e5cb = function(arg0, arg1, arg2) {
1257
1345
  const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
1258
1346
  return addHeapObject(ret);
1259
1347
  };
1260
1348
 
1261
- module.exports.__wbg_new_ace717933ad7117f = function(arg0) {
1349
+ module.exports.__wbg_new_63b92bc8671ed464 = function(arg0) {
1262
1350
  const ret = new Uint8Array(getObject(arg0));
1263
1351
  return addHeapObject(ret);
1264
1352
  };
1265
1353
 
1266
- module.exports.__wbg_set_74906aa30864df5a = function(arg0, arg1, arg2) {
1354
+ module.exports.__wbg_set_a47bac70306a19a7 = function(arg0, arg1, arg2) {
1267
1355
  getObject(arg0).set(getObject(arg1), arg2 >>> 0);
1268
1356
  };
1269
1357
 
1270
- module.exports.__wbg_length_f0764416ba5bb237 = function(arg0) {
1358
+ module.exports.__wbg_length_c20a40f15020d68a = function(arg0) {
1271
1359
  const ret = getObject(arg0).length;
1272
1360
  return ret;
1273
1361
  };
1274
1362
 
1275
- module.exports.__wbg_instanceof_Uint8Array_4f5cffed7df34b2f = function(arg0) {
1363
+ module.exports.__wbg_instanceof_Uint8Array_2b3bbecd033d19f6 = function(arg0) {
1276
1364
  let result;
1277
1365
  try {
1278
1366
  result = getObject(arg0) instanceof Uint8Array;
@@ -1283,16 +1371,23 @@ module.exports.__wbg_instanceof_Uint8Array_4f5cffed7df34b2f = function(arg0) {
1283
1371
  return ret;
1284
1372
  };
1285
1373
 
1286
- module.exports.__wbg_newwithlength_728575f3bba9959b = function(arg0) {
1374
+ module.exports.__wbg_newwithlength_e9b4878cebadb3d3 = function(arg0) {
1287
1375
  const ret = new Uint8Array(arg0 >>> 0);
1288
1376
  return addHeapObject(ret);
1289
1377
  };
1290
1378
 
1291
- module.exports.__wbg_subarray_7f7a652672800851 = function(arg0, arg1, arg2) {
1379
+ module.exports.__wbg_subarray_a1f73cd4b5b42fe1 = function(arg0, arg1, arg2) {
1292
1380
  const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
1293
1381
  return addHeapObject(ret);
1294
1382
  };
1295
1383
 
1384
+ module.exports.__wbindgen_bigint_get_as_i64 = function(arg0, arg1) {
1385
+ const v = getObject(arg1);
1386
+ const ret = typeof(v) === 'bigint' ? v : undefined;
1387
+ getBigInt64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? BigInt(0) : ret;
1388
+ getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
1389
+ };
1390
+
1296
1391
  module.exports.__wbindgen_debug_string = function(arg0, arg1) {
1297
1392
  const ret = debugString(getObject(arg1));
1298
1393
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
@@ -1310,8 +1405,8 @@ module.exports.__wbindgen_memory = function() {
1310
1405
  return addHeapObject(ret);
1311
1406
  };
1312
1407
 
1313
- module.exports.__wbindgen_closure_wrapper611 = function(arg0, arg1, arg2) {
1314
- const ret = makeMutClosure(arg0, arg1, 219, __wbg_adapter_46);
1408
+ module.exports.__wbindgen_closure_wrapper659 = function(arg0, arg1, arg2) {
1409
+ const ret = makeMutClosure(arg0, arg1, 233, __wbg_adapter_54);
1315
1410
  return addHeapObject(ret);
1316
1411
  };
1317
1412
 
@@ -88,8 +88,7 @@ export interface IStackFrameList {
88
88
 
89
89
  export interface IStackFrame {
90
90
  name: string;
91
- path: string;
92
- range: IRange;
91
+ location: ILocation
93
92
  }
94
93
 
95
94
  export interface IVariableList {
@@ -340,6 +339,11 @@ export class LanguageService {
340
339
  get_references(uri: string, position: IPosition, include_declaration: boolean): (ILocation)[];
341
340
  /**
342
341
  * @param {string} uri
342
+ * @returns {(ITextEdit)[]}
343
+ */
344
+ get_format_changes(uri: string): (ITextEdit)[];
345
+ /**
346
+ * @param {string} uri
343
347
  * @param {IPosition} position
344
348
  * @returns {IHover | undefined}
345
349
  */
Binary file
@@ -88,8 +88,7 @@ export interface IStackFrameList {
88
88
 
89
89
  export interface IStackFrame {
90
90
  name: string;
91
- path: string;
92
- range: IRange;
91
+ location: ILocation
93
92
  }
94
93
 
95
94
  export interface IVariableList {
@@ -340,6 +339,11 @@ export class LanguageService {
340
339
  get_references(uri: string, position: IPosition, include_declaration: boolean): (ILocation)[];
341
340
  /**
342
341
  * @param {string} uri
342
+ * @returns {(ITextEdit)[]}
343
+ */
344
+ get_format_changes(uri: string): (ITextEdit)[];
345
+ /**
346
+ * @param {string} uri
343
347
  * @param {IPosition} position
344
348
  * @returns {IHover | undefined}
345
349
  */
@@ -415,6 +419,7 @@ export interface InitOutput {
415
419
  readonly languageservice_get_completions: (a: number, b: number, c: number, d: number) => number;
416
420
  readonly languageservice_get_definition: (a: number, b: number, c: number, d: number) => number;
417
421
  readonly languageservice_get_references: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
422
+ readonly languageservice_get_format_changes: (a: number, b: number, c: number, d: number) => void;
418
423
  readonly languageservice_get_hover: (a: number, b: number, c: number, d: number) => number;
419
424
  readonly languageservice_get_signature_help: (a: number, b: number, c: number, d: number) => number;
420
425
  readonly languageservice_get_rename: (a: number, b: number, c: number, d: number, e: number, f: number) => number;