소스 검색

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
No known key found for this signature in database 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`)



불러오는 중...
취소
저장