Przeglądaj źródła

chore(docs): default for propagate_positions=False

tags/gm/2021-09-23T00Z/github.com--lark-parser-lark/0.8.0
Ted Summer 4 lat temu
committed by GitHub
rodzic
commit
0f699b1ebb
Nie znaleziono w bazie danych klucza dla tego podpisu ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      docs/classes.md

+ 1
- 1
docs/classes.md Wyświetl plik

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



Ładowanie…
Anuluj
Zapisz