Просмотр исходного кода

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
Родитель
Сommit
0f699b1ebb
Не найден GPG ключ соответствующий данной подписи Идентификатор GPG ключа: 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`)



Загрузка…
Отмена
Сохранить