瀏覽代碼

Docs: error in docs..

tags/gm/2021-09-23T00Z/github.com--lark-parser-lark/0.10.0
Erez Sh 4 年之前
父節點
當前提交
96b0cfbbc4
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      lark/lexer.py

+ 1
- 1
lark/lexer.py 查看文件

@@ -97,7 +97,7 @@ class Token(Str):
so normal string comparisons and operations will work as expected.

Attributes:
type_: Name of the token (as specified in grammar)
type: Name of the token (as specified in grammar)
value: Value of the token (redundant, as ``token.value == token`` will always be true)
pos_in_stream: The index of the token in the text
line: The line of the token in the text (starting with 1)


Loading…
取消
儲存