-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhtml_exceptions.pyi
67 lines (47 loc) · 2.24 KB
/
html_exceptions.pyi
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
from typing import List
from dodona.translator import Translator
from exceptions.utils import DelayedExceptions, FeedbackException
class HtmlValidationError(FeedbackException):
def __init__(self, trans: Translator, msg: str, line: int, pos: int):
...
class LocatableHtmlValidationError(HtmlValidationError):
def __init__(self, trans: Translator, msg: str, line: int, pos: int):
...
class MissingOpeningTagError(LocatableHtmlValidationError):
def __init__(self, trans: Translator, tag: str, line: int, pos: int):
...
class MissingClosingTagError(LocatableHtmlValidationError):
def __init__(self, trans: Translator, tag: str, line: int, pos: int):
...
class InvalidTagError(LocatableHtmlValidationError):
def __init__(self, trans: Translator, tag: str, line: int, pos: int):
...
class NoSelfClosingTagError(LocatableHtmlValidationError):
def __init__(self, trans: Translator, tag: str, line: int, pos: int):
...
class UnexpectedTagError(LocatableHtmlValidationError):
def __init__(self, trans: Translator, tag: str, line: int, pos: int):
...
class UnexpectedClosingTagError(LocatableHtmlValidationError):
def __init__(self, trans: Translator, tag: str, line: int, pos: int):
...
class InvalidAttributeError(LocatableHtmlValidationError):
def __init__(self, trans: Translator, tag: str, attribute: str, line: int, pos: int):
...
class MissingRequiredAttributesError(LocatableHtmlValidationError):
def __init__(self, trans: Translator, tag: str, attribute: str, line: int, pos: int):
...
class DuplicateIdError(LocatableHtmlValidationError):
def __init__(self, trans: Translator, tag: str, attribute: str, line: int, pos: int):
...
class AttributeValueError(LocatableHtmlValidationError):
def __init__(self, trans: Translator, msg: str, line: int, pos: int):
...
class MissingRecommendedAttributesWarning(LocatableHtmlValidationError):
def __init__(self, trans: Translator, tag: str, attribute: str, line: int, pos: int):
...
class Warnings(DelayedExceptions):
translator: Translator
exceptions: List[LocatableHtmlValidationError]
def __init__(self, translator: Translator): ...
def __str__(self): ...