UNPKG

jscc-parser

Version:

A LALR(1) Parser Generator for JavaScript written in JavaScript.

41 lines 1.01 kB
(function(root, factory) { /* istanbul ignore next */ if (typeof define === 'function' && define.amd) { define(factory); } else if (typeof module === 'object' && module.exports) { module.exports = factory(); } else { root.jsccMODE_GEN = factory(); } }(this, function() { //>>excludeStart("closure", pragmas.closure); var jscc = { enums: {} }; /** * Indicates an output mode for the parser. * @readonly * @enum {number} * @memberof jscc.enums */ jscc.enums.MODE_GEN = { /** * Output is plain text. */ TEXT: 0, /** * Output is JavaScript code. */ JS: 1, /** * Output is HTML-formatted. */ HTML: 2 }; //>>excludeEnd("closure"); /** * Module containing MODE_GEN enumeration. * @module jscc/enums/MODE_GEN */ return jscc.enums.MODE_GEN; }));