schema.js 509 B

12345678910111213141516171819202122232425
  1. 'use strict';
  2. var map = require('../common/map.js');
  3. var _null = require('../common/null.js');
  4. var seq = require('../common/seq.js');
  5. var string = require('../common/string.js');
  6. var bool = require('./bool.js');
  7. var float = require('./float.js');
  8. var int = require('./int.js');
  9. const schema = [
  10. map.map,
  11. seq.seq,
  12. string.string,
  13. _null.nullTag,
  14. bool.boolTag,
  15. int.intOct,
  16. int.int,
  17. int.intHex,
  18. float.floatNaN,
  19. float.floatExp,
  20. float.float
  21. ];
  22. exports.schema = schema;