Skip to content

Commit 6f57268

Browse files
committed
refract(dev): move debugger
1 parent e2ca1b6 commit 6f57268

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

ast/mod.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
export * from "./ast.ts"
2-
export * from "./node.ts"
3-
export * from "./token.ts"
1+
export * from "./ast.ts";
2+
export * from "./node.ts";
3+
export * from "./token.ts";

core/lexer/lexer.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import dbg from "../../debug.js";
2-
import { Token } from "../../types.ts";
1+
import dbg from "../../debug/debug.js";
2+
import { Token } from "../../ast/mod.ts";
33

44
let debug = dbg("lex");
55

core/parser/parser.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import dbg from "../../debug.js";
1+
import dbg from "../../debug/debug.js";
22
let debug = dbg("parse");
33

44
import { lex } from "../lexer/lexer.ts";
5-
import { AST, Token } from "../../types.ts";
5+
import { AST, Token } from "../../ast/mod.ts";
66

77
var _comments: boolean; // Whether comments are allowed.
88
var _depth: number; // Current block nesting depth.

debug.js renamed to debug/debug.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
function debug(label) {
2-
return _debug.bind(null, label);
2+
return _debug.bind(null, label);
33
}
44

55
function _debug(label) {

0 commit comments

Comments
 (0)