pegjs/lib
Mingun 0dab14d652 Add ability to extract comments from the grammar (#511)
All comments stored in the `comments` property of the `grammar` node.
Comments extracted only if the `extractComments` options set to `true` when you generate parser.
This property is object with mapping start offset of comment to comment object, that looks like:

```js
{
  text: 'text in the comment, just after // or /* and before */',
  multiline: true|false,// true for /**/ comments, false for // comments
  location: location()
}
```
2018-01-24 18:10:45 +00:00
..
compiler Restore silentFails guard for rule$expects 2018-01-18 21:52:06 +00:00
parser Add ability to extract comments from the grammar (#511) 2018-01-24 18:10:45 +00:00
typings Updated utils and tsd 2018-01-16 04:28:27 +00:00
util Some cosmetic changes 2018-01-18 01:47:13 +00:00
.eslintrc.js Disabled eslint rule 'prefer-spread' 2017-10-26 10:20:29 +01:00
grammar-error.js Update code format and style 2017-10-25 19:19:42 +01:00
peg.d.ts Added 'lib/peg.d.ts' for internal use 2017-12-28 01:23:37 +00:00
peg.js Added utility methods for objects 2018-01-14 20:44:53 +00:00