greybel-interpreter 0.3.7 → 0.3.8

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/dist/context.d.ts CHANGED
@@ -60,7 +60,7 @@ export interface OperationContextForkOptions {
60
60
  }
61
61
  export declare class OperationContext {
62
62
  target: string;
63
- line: ASTPosition;
63
+ position: ASTPosition;
64
64
  debugger: Debugger;
65
65
  previous: OperationContext | null;
66
66
  type: ContextType;
package/dist/context.js CHANGED
@@ -292,7 +292,7 @@ var OperationContext = /** @class */ (function () {
292
292
  function OperationContext(options) {
293
293
  var me = this;
294
294
  me.target = options.target || 'unknown';
295
- me.line = {
295
+ me.position = {
296
296
  line: 0,
297
297
  character: 0
298
298
  };
@@ -100,7 +100,7 @@ var BodyOperation = /** @class */ (function (_super) {
100
100
  case 2:
101
101
  if (!!_b.done) return [3 /*break*/, 10];
102
102
  entity = _b.value;
103
- operationContext.line = entity.ast.line;
103
+ operationContext.position = entity.ast.start;
104
104
  if (!dbgr.getBreakpoint(operationContext)) return [3 /*break*/, 4];
105
105
  dbgr.interact(operationContext, entity);
106
106
  return [4 /*yield*/, dbgr.resume()];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "greybel-interpreter",
3
- "version": "0.3.7",
3
+ "version": "0.3.8",
4
4
  "description": "Interpreter",
5
5
  "main": "dist/index",
6
6
  "typings": "dist/index",