0dab14d652
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() } ``` |
||
---|---|---|
.. | ||
compiler | ||
parser | ||
typings | ||
util | ||
.eslintrc.js | ||
grammar-error.js | ||
peg.d.ts | ||
peg.js |