Browse Source

Add information about debug=True (Issue #750)

tags/gm/2021-09-23T00Z/github.com--lark-parser-lark/0.11.1
Erez Sh 5 years ago
parent
commit
27ef9fcbf0
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      lark/lark.py

+ 2
- 1
lark/lark.py View File

@@ -35,7 +35,8 @@ class LarkOptions(Serialize):
start start
The start symbol. Either a string, or a list of strings for multiple possible starts (Default: "start") The start symbol. Either a string, or a list of strings for multiple possible starts (Default: "start")
debug debug
Display debug information, such as warnings (default: False)
Display debug information and extra warnings. Use only when debugging (default: False)
When used with Earley, it generates a forest graph as "sppf.png", if 'dot' is installed.
transformer transformer
Applies the transformer to every parse tree (equivalent to applying it after the parse, but faster) Applies the transformer to every parse tree (equivalent to applying it after the parse, but faster)
propagate_positions propagate_positions


Loading…
Cancel
Save