Codebase list node-ast-types / upstream/0.15.1 def / es2016.ts
upstream/0.15.1

Tree @upstream/0.15.1 (Download .tar.gz)

es2016.ts @upstream/0.15.1raw · history · blame

import { Fork } from "../types";
import es2016OpsDef from "./operators/es2016";
import es6Def from "./es6";

export default function (fork: Fork) {
  // The es2016OpsDef plugin comes before es6Def so BinaryOperators and
  // AssignmentOperators will be appropriately augmented before they are first
  // used in the core definitions for this fork.
  fork.use(es2016OpsDef);
  fork.use(es6Def);
};