Este sítio funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Iniciar sessão
jmg
/
gitmirror
Vigiar
1
Marcar como favorito
0
Derivar
0
Código
Questões
0
Pedidos de integração
0
Lançamentos
39
Wiki
Trabalho
Ver a proveniência
make LexerState inherit from object
tags/gm/2021-09-23T00Z/github.com--lark-parser-lark/0.11.3
Gary Geng
há 3 anos
ascendente
6d6c751a79
cometimento
38ab4232ae
1 ficheiros alterados
com
1 adições
e
1 eliminações
Visualização em 2 colunas
Opções das diferenças
Mostrar estatísticas
Descarregar ficheiro patch
Descarregar ficheiro diff
+1
-1
lark/lexer.py
+ 1
- 1
lark/lexer.py
Ver ficheiro
@@ -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):
Escrever
Pré-visualizar
Carregando…
Cancelar
Guardar