2
0
mirror of https://github.com/tenrok/BBob.git synced 2026-06-11 18:02:26 +03:00

add parser tests

This commit is contained in:
Nikolay Kostyurin
2018-06-12 18:07:13 +02:00
parent cacfda9685
commit 77ddfca271
4 changed files with 47 additions and 21 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ const Tokenizer = require('./Tokenizer');
const TokenChar = Tokenizer.CHAR;
const getChar = Tokenizer.getChar;
const createTagNode = (name, attrs = {}, content = []) => ({ tag: name, attrs, content });
const createTagNode = (tag, attrs = {}, content = []) => ({ tag, attrs, content });
/**
*