瀏覽代碼

chore(docs): default for propagate_positions=False

tags/gm/2021-09-23T00Z/github.com--lark-parser-lark/0.8.0
Ted Summer 4 年之前
committed by GitHub
父節點
當前提交
0f699b1ebb
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      docs/classes.md

+ 1
- 1
docs/classes.md 查看文件

@@ -32,7 +32,7 @@ The Lark class accepts a grammar string or file object, and keyword options:

* **keep_all_tokens** - Don't throw away any terminals from the tree (Default=`False`)

* **propagate_positions** - Propagate line/column count to tree nodes, at the cost of performance (default=`True`)
* **propagate_positions** - Propagate line/column count to tree nodes, at the cost of performance (default=`False`)

* **maybe_placeholders** - The `[]` operator returns `None` when not matched. Setting this to `False` makes it behave like the `?` operator, and return no value at all, which may be a little faster (default=`True`)



Loading…
取消
儲存