Skip to content

Commit

Permalink
Add url generation method
Browse files Browse the repository at this point in the history
  • Loading branch information
kiwiz committed Jul 5, 2017
1 parent 8171a9c commit e0f9dc5
Show file tree
Hide file tree
Showing 8 changed files with 4,541 additions and 4,254 deletions.
5 changes: 4 additions & 1 deletion compiler.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ fs.readFile('grammar.pegjs', 'utf8', function (err,data) {
}

var parser = pegjs.buildParser(data, {
phppegjs: {parserNamespace: 'ESQuery'},
phppegjs: {
parserNamespace: 'ESQuery',
parserClassName: 'InternalParser',
},
plugins: [phppegjs]
});

Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
}
],
"require": {
"elasticsearch/elasticsearch": "^2.0"
"elasticsearch/elasticsearch": "^2.0",
"kunststube/rison": "^0.92.1"
},
"require-dev": {
"phpunit/phpunit": "^4.8"
Expand Down
Loading

0 comments on commit e0f9dc5

Please sign in to comment.