index.js 903 B

1234567891011121314151617181920212223242526272829303132
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.statements = exports.statement = exports.smart = exports.program = exports.expression = exports.default = void 0;
  6. var formatters = require("./formatters");
  7. var _builder = require("./builder");
  8. const smart = (0, _builder.default)(formatters.smart);
  9. exports.smart = smart;
  10. const statement = (0, _builder.default)(formatters.statement);
  11. exports.statement = statement;
  12. const statements = (0, _builder.default)(formatters.statements);
  13. exports.statements = statements;
  14. const expression = (0, _builder.default)(formatters.expression);
  15. exports.expression = expression;
  16. const program = (0, _builder.default)(formatters.program);
  17. exports.program = program;
  18. var _default = Object.assign(smart.bind(undefined), {
  19. smart,
  20. statement,
  21. statements,
  22. expression,
  23. program,
  24. ast: smart.ast
  25. });
  26. exports.default = _default;