message: Try traversing the AST?
diff: @@ -4,6 +4,15 @@ import * as util from "util";
  const readFile = util.promisify(fs.readFile);
  +function bril(node: ts.Node) {
  + switch (node.kind) {
  + case ts.SyntaxKind.IfStatement:
  + console.log(node);
  + break;
  + }
  + ts.forEachChild(node, bril);
  +}
  +
  async function main() {
  const filenames = process.argv.slice(2);
  for (let filename of filenames) {
  @@ -13,7 +22,7 @@ async function main() {
  ts.ScriptTarget.ES2015,
  true,
  );
  - console.log(sf);
  + bril(sf);
  }
  }
  