@yuku-parser/wasm 0.5.21 → 0.5.24
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.
- package/index.d.ts +0 -9
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -149,15 +149,6 @@ interface ParseResult {
|
|
|
149
149
|
* 1-based, columns are 0-based, matching ESTree's `loc` convention.
|
|
150
150
|
*/
|
|
151
151
|
locOf(offset: number): SourceLocation;
|
|
152
|
-
/**
|
|
153
|
-
* Resolves an offset to a `{ line, column }` pair, starting the search at
|
|
154
|
-
* `hintLine` and scanning toward the target line. For offsets resolved in
|
|
155
|
-
* roughly source order, pass the previously returned `line` as `hintLine`
|
|
156
|
-
* to keep lookups near-constant time, avoiding the binary search in
|
|
157
|
-
* {@link locOf}. `hintLine` is 1-based, like the returned `line`. Lines are
|
|
158
|
-
* 1-based, columns are 0-based, matching ESTree's `loc` convention.
|
|
159
|
-
*/
|
|
160
|
-
locNear(offset: number, hintLine: number): SourceLocation;
|
|
161
152
|
}
|
|
162
153
|
|
|
163
154
|
/**
|