Comparing version 0.1.1 to 0.1.2
{ | ||
"name": "groq-js", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"main": "src/index.js", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -58,2 +58,6 @@ const { | ||
Parameter({name}, scope) { | ||
return fromJS(scope.params[name]) | ||
}, | ||
Parent({n}, scope) { | ||
@@ -60,0 +64,0 @@ for (let i = 0; i < n; i++) { |
@@ -498,2 +498,11 @@ const {parse: rawParse} = require('./rawParser') | ||
} | ||
}, | ||
param(p, mark) { | ||
let name = p.processStringEnd() | ||
return { | ||
type: 'Parameter', | ||
name | ||
} | ||
} | ||
@@ -500,0 +509,0 @@ } |
121339
4169