Kaynağa Gözat

Add information about debug=True (Issue #750)

tags/gm/2021-09-23T00Z/github.com--lark-parser-lark/0.11.1
Erez Sh 3 yıl önce
ebeveyn
işleme
27ef9fcbf0
1 değiştirilmiş dosya ile 2 ekleme ve 1 silme
  1. +2
    -1
      lark/lark.py

+ 2
- 1
lark/lark.py Dosyayı Görüntüle

@@ -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


Yükleniyor…
İptal
Kaydet