walt-parser-tools
Advanced tools
Comparing version 0.1.5 to 0.2.0
{ | ||
"name": "walt-parser-tools", | ||
"version": "0.1.5", | ||
"version": "0.2.0", | ||
"description": "", | ||
@@ -37,3 +37,3 @@ "main": "src/index.js", | ||
"prettier": "1.9.2", | ||
"walt-syntax": "^0.2.1" | ||
"walt-syntax": "^0.3.0" | ||
}, | ||
@@ -40,0 +40,0 @@ "prettier": { |
@@ -8,2 +8,3 @@ const { | ||
namespace, | ||
signature, | ||
index, | ||
@@ -20,2 +21,3 @@ } = require('./src/scope'); | ||
index, | ||
signature, | ||
}; |
@@ -7,5 +7,9 @@ /** | ||
const namespace = Symbol('scope namespace'); | ||
const signature = Symbol('signature'); | ||
function enter(scopes, scopeName) { | ||
return [...scopes, { [namespace]: scopeName }]; | ||
return [ | ||
...scopes, | ||
{ [namespace]: scopeName, [signature]: { result: null, arguments: null } }, | ||
]; | ||
} | ||
@@ -56,2 +60,3 @@ | ||
namespace, | ||
signature, | ||
}; |
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
23454
14
262