Browse Source

Added type information for UnexpectedEOF (Issue #686)

tags/gm/2021-09-23T00Z/github.com--lark-parser-lark/0.10.0
Erez Sh 5 years ago
parent
commit
62776b9908
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      lark-stubs/exceptions.pyi

+ 2
- 0
lark-stubs/exceptions.pyi View File

@@ -23,6 +23,8 @@ class LexError(LarkError):


T = TypeVar('T') T = TypeVar('T')


class UnexpectedEOF(ParseError):
expected: List[Token]


class UnexpectedInput(LarkError): class UnexpectedInput(LarkError):
line: int line: int


Loading…
Cancel
Save