You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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()
}
```
6 years ago
..
compiler Restore silentFails guard for rule$expects 6 years ago
parser Add ability to extract comments from the grammar (#511) 6 years ago
typings Updated utils and tsd 6 years ago
util Some cosmetic changes 6 years ago
.eslintrc.js Disabled eslint rule 'prefer-spread' 7 years ago
grammar-error.js Update code format and style 7 years ago
peg.d.ts Added 'lib/peg.d.ts' for internal use 6 years ago
peg.js Added utility methods for objects 6 years ago