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:
@@ -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 });
|
||||
|
||||
/**
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user