Browse Source

Document Session#fatal method

master
Futago-za Ryuu 5 years ago
parent
commit
46c3dcf40b
  1. 1
      docs/guides/javascript-api.md

1
docs/guides/javascript-api.md

@ -74,6 +74,7 @@ This class will also return some helper methods:
* `parse( input, options )` - an alias for `this.parser.parse( input, options )`
* `buildVisitor( functions )` - an alias for `this.visitor.build( functions )`
* `fatal( message, location )` - Will always throw an error (used by default for `this.error()` if not overridden).
#### peg.compiler.compile(ast, session[, options])

Loading…
Cancel
Save