jsdoc-type-pratt-parser
Advanced tools
Comparing version 1.0.0-alpha.4.0 to 1.0.0-alpha.6.0
{ | ||
"name": "jsdoc-type-pratt-parser", | ||
"version": "1.0.0-alpha.4.0", | ||
"version": "1.0.0-alpha.6.0", | ||
"description": "", | ||
@@ -17,2 +17,3 @@ "main": "dist/index.js", | ||
"apidoc": "typedoc src/index.ts --out docs", | ||
"preversion": "npm test", | ||
"postpublish": "./deploy.sh" | ||
@@ -19,0 +20,0 @@ }, |
@@ -5,3 +5,3 @@ import { NonTerminalResult, ParseResult } from './ParseResult' | ||
function _traverse(node: NonTerminalResult, parentNode?: NonTerminalResult, property?: string, onEnter?: NodeVisitor, onLeave?: NodeVisitor): void { | ||
function _traverse (node: NonTerminalResult, parentNode?: NonTerminalResult, property?: string, onEnter?: NodeVisitor, onLeave?: NodeVisitor): void { | ||
onEnter?.(node, parentNode, property) | ||
@@ -33,4 +33,4 @@ if ('left' in node && node.left !== undefined) { | ||
export function traverse(node: ParseResult, onEnter?: NodeVisitor, onLeave?: NodeVisitor): void { | ||
export function traverse (node: ParseResult, onEnter?: NodeVisitor, onLeave?: NodeVisitor): void { | ||
_traverse(node, undefined, undefined, onEnter, onLeave) | ||
} |
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
432620