|
|
|
@ -169,7 +169,7 @@ var utils = require("../../utils"),
|
|
|
|
|
*
|
|
|
|
|
* silentFails--;
|
|
|
|
|
*/
|
|
|
|
|
module.exports = function(ast, options) {
|
|
|
|
|
module.exports = function(ast) {
|
|
|
|
|
var consts = [];
|
|
|
|
|
|
|
|
|
|
function addConst(value) {
|
|
|
|
@ -351,7 +351,7 @@ module.exports = function(ast, options) {
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
sequence: function(node, context) {
|
|
|
|
|
var emptyArrayIndex, failIndex;
|
|
|
|
|
var emptyArrayIndex;
|
|
|
|
|
|
|
|
|
|
function buildElementsCode(elements, context) {
|
|
|
|
|
var processedCount, functionIndex;
|
|
|
|
@ -591,7 +591,7 @@ module.exports = function(ast, options) {
|
|
|
|
|
);
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
any: function(node) {
|
|
|
|
|
any: function() {
|
|
|
|
|
var expectedIndex = addConst('{ type: "any", description: "any character" }');
|
|
|
|
|
|
|
|
|
|
return buildCondition(
|
|
|
|
|