本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
說明
登入
jmg
/
gitmirror
關注
1
收藏
0
複製
0
程式碼
問題
0
合併請求
0
版本發佈
39
Wiki
活動
瀏覽代碼
make LexerState inherit from object
tags/gm/2021-09-23T00Z/github.com--lark-parser-lark/0.11.3
Gary Geng
3 年之前
父節點
6d6c751a79
當前提交
38ab4232ae
共有
1 個檔案被更改
,包括
1 行新增
和
1 行删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
lark/lexer.py
+ 1
- 1
lark/lexer.py
查看文件
@@ -404,7 +404,7 @@ class TraditionalLexer(Lexer):
raise EOFError(self)
class LexerState:
class LexerState
(object)
:
__slots__ = 'text', 'line_ctr', 'last_token'
def __init__(self, text, line_ctr, last_token=None):
Write
Preview
Loading…
取消
儲存