@yuku-toolchain/types 0.5.35 → 0.5.37

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 (2) hide show
  1. package/index.d.ts +0 -22
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -140,27 +140,6 @@ declare class WalkContext<T extends Node = Node, S = unknown> {
140
140
  */
141
141
  insertAfter(node: Node): void;
142
142
  }
143
- /**
144
- * The scan cursor: one reused object pointing at the current node
145
- * record in the parse buffer. Valid only during the visit that receives
146
- * it; do not store it.
147
- */
148
- interface ScanCursor<T extends Node = Node> {
149
- /** The node's `type`. */
150
- readonly type: T["type"];
151
- /** Span start, same as the materialized node's `start`. */
152
- readonly start: number;
153
- /** Span end, same as the materialized node's `end`. */
154
- readonly end: number;
155
- /** The node's index in the parse buffer, stable per parse. */
156
- readonly index: number;
157
- /** Materializes the node on demand. */
158
- node(): T;
159
- /** Do not descend into the current node's children. */
160
- skip(): void;
161
- /** Stop the scan entirely. */
162
- stop(): void;
163
- }
164
143
  // AST node types
165
144
 
166
145
  interface BaseNode {
@@ -1753,7 +1732,6 @@ export { WalkContext };
1753
1732
  export type {
1754
1733
  NodeOfType,
1755
1734
  NodeType,
1756
- ScanCursor,
1757
1735
  Comment,
1758
1736
  AttachedComment,
1759
1737
  CommentType,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yuku-toolchain/types",
3
- "version": "0.5.35",
3
+ "version": "0.5.37",
4
4
  "description": "Shared AST, diagnostic, and traversal type definitions for the yuku toolchain",
5
5
  "keywords": [
6
6
  "ast",