UNPKG

ts-simple-ast

Version:

TypeScript compiler wrapper for static analysis and code manipulation.

11 lines (10 loc) 321 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); function getCompilerForEachChildren(node) { var children = []; node.forEachChild(function (child) { children.push(child); }); return children; } exports.getCompilerForEachChildren = getCompilerForEachChildren;