UNPKG

alasql

Version:

AlaSQL.js - JavaScript SQL database library for relational and graph data manipulation with support of localStorage, IndexedDB, and Excel

32 lines (23 loc) 838 B
/* // // Parser helper for Alasql.js // Date: 03.11.2014 // (c) 2014, Andrey Gershun // */ var yy = parser.yy = {}; // Utility yy.extend = extend; // Option for case sensitive yy.casesensitive = alasql.options.casesensitive; // Base class for all yy classes var Base = yy.Base = function (params) { return yy.extend(this, params); }; Base.prototype.toString = function() {} Base.prototype.toType = function() {} Base.prototype.toJavaScript = function() {} //var BaseClause = yy,BaseClause = function (params) { return yy.extend(this, params); }; Base.prototype.compile = returnUndefined; Base.prototype.exec = function() {} //var BaseStatement = yy,BaseStatement = function (params) { return yy.extend(this, params); }; Base.prototype.compile = returnUndefined; Base.prototype.exec = function() {}