Skip to content

Commit 31b14ae

Browse files
committed
remove debug out
1 parent 2d55cf2 commit 31b14ae

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Parser.js

-3
Original file line numberDiff line numberDiff line change
@@ -277,12 +277,10 @@ export class Parser {
277277
const properties = [];
278278
for (;;) {
279279
const t2 = this.getToken();
280-
console.log("t2", t2);
281280
if (t2.type == "}") break;
282281
if (t2.type != "var") throw new Error("オブジェクトの定義には名前が必要です");
283282
const name = t2.name;
284283
const t4 = this.getToken();
285-
console.log("t4", t4);
286284
if (t4.operator != ":") throw new Error("オブジェクトの定義は名前の後に : が必要です");
287285
const value = this.getExpression();
288286
properties.push({
@@ -297,7 +295,6 @@ export class Parser {
297295
if (t3.type == "}") break;
298296
if (t3.type != "operator" && t3.operator != ",") throw new Error("オブジェクトの定義は , で区切る必要があります");
299297
}
300-
console.log(properties);
301298
return {
302299
type: "ObjectExpression",
303300
properties,

0 commit comments

Comments
 (0)