UNPKG

jscc-parser

Version:

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

36 lines 907 B
(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.jsccSYM = factory(); } }(this, function() { //>>excludeStart("closure", pragmas.closure); var jscc = { enums: {} }; /** * Identifies a symbol as nonterminating or terminating. * @enum {number} * @memberof jscc.enums */ jscc.enums.SYM = { /** * The symbol is nonterminating. */ NONTERM: 0, /** * The symbol is terminating. */ TERM: 1 }; //>>excludeEnd("closure"); /** * Module containing SYM enumeration. * @module jscc/enums/SYM */ return jscc.enums.SYM; }));