Comparing version 0.3.1 to 0.3.2
@@ -444,3 +444,11 @@ (function(root, factory) { | ||
Lexer.prototype.has = function(tokenType) { | ||
var groups = this.groups; | ||
for (var i=groups.length; i--; ) { | ||
if (groups[i].tokenType === tokenType) return true | ||
} | ||
return false | ||
} | ||
return { | ||
@@ -447,0 +455,0 @@ compile: compile, |
{ | ||
"name": "moo", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"description": "Optimised tokenizer/lexer generator! 🐄 Uses /y for performance. Moo!", | ||
@@ -5,0 +5,0 @@ "main": "moo.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22317
392