Quellcode durchsuchen

chore(docs): default for propagate_positions=False

tags/gm/2021-09-23T00Z/github.com--lark-parser-lark/0.8.0
Ted Summer vor 4 Jahren
committed by GitHub
Ursprung
Commit
0f699b1ebb
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden GPG-Schlüssel-ID: 4AEE18F83AFDEB23
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. +1
    -1
      docs/classes.md

+ 1
- 1
docs/classes.md Datei anzeigen

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



Laden…
Abbrechen
Speichern