UNPKG

ast-parentchild

Version:

Convert your JavaScript file to acron AST format and then output a json file whihc have parent-child realtionship between nodes

9 lines (6 loc) 159 B
const Node = require('./node.js'); module.exports = class TableNode extends Node { constructor(data, children) { super(data, children); } }