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
Restore the Lark.terminals attribute when using cached grammar
tags/gm/2021-09-23T00Z/github.com--lark-parser-lark/0.10.0
Erez Sh
há 4 anos
ascendente
dc30692015
cometimento
faecf32592
1 ficheiros alterados
com
2 adições
e
0 eliminações
Visualização em 2 colunas
Opções das diferenças
Mostrar estatísticas
Descarregar ficheiro patch
Descarregar ficheiro diff
+2
-0
lark/lark.py
+ 2
- 0
lark/lark.py
Ver ficheiro
@@ -375,6 +375,8 @@ class Lark(Serialize):
self.options.transformer,
re_module
)
self.terminals = self.parser.lexer_conf.tokens
self._terminals_dict = {t.name: t for t in self.terminals}
return self
@classmethod
Escrever
Pré-visualizar
Carregando…
Cancelar
Guardar