Comparing version 0.0.9 to 0.0.10
@@ -182,2 +182,3 @@ /** | ||
"var": varMatcher, | ||
"ident": identMatcher, | ||
"return": returnMatcher, | ||
@@ -484,2 +485,20 @@ "call": callMatcher.bind(undefined, true), | ||
/** | ||
#### (ident name) | ||
Matches `Identifier`. | ||
*/ | ||
function identMatcher(name) { | ||
assertArguments("ident", 1, arguments); | ||
name = name || "?"; | ||
var nameMatcher = identifierMatcher(name); | ||
return function (node) { | ||
if (node.type !== "Identifier") { return undefined; } | ||
return nameMatcher(node); | ||
}; | ||
} | ||
/** | ||
#### (call callee arg0...argn) | ||
@@ -790,2 +809,3 @@ | ||
- 0.0.10 ident pattern | ||
- 0.0.9 Boolean patterns | ||
@@ -792,0 +812,0 @@ - 0.0.8 Even more rands |
{ | ||
"name": "jsstana", | ||
"description": "s-expression match patterns for Mozilla Parser AST", | ||
"version": "0.0.9", | ||
"version": "0.0.10", | ||
"homepage": "https://github.com/phadej/jsstana", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -79,2 +79,6 @@ # jsstana [![Build Status](https://secure.travis-ci.org/phadej/jsstana.png?branch=master)](http://travis-ci.org/phadej/jsstana) | ||
#### (ident name) | ||
Matches `Identifier`. | ||
#### (call callee arg0...argn) | ||
@@ -153,2 +157,3 @@ | ||
- 0.0.10 ident pattern | ||
- 0.0.9 Boolean patterns | ||
@@ -155,0 +160,0 @@ - 0.0.8 Even more rands |
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
107479
33
2214
181