update refactoring and add new features
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
from CLI import MedeiaLexer
|
||||
|
||||
|
||||
class DummyDocument:
|
||||
def __init__(self, lines):
|
||||
self.lines = list(lines)
|
||||
|
||||
lexer = MedeiaLexer()
|
||||
doc = DummyDocument([r'C:\path\to\file'])
|
||||
print(lexer.lex_document(doc)(0))
|
||||
Reference in New Issue
Block a user