This commit is contained in:
Mylloon 2023-05-29 12:10:14 +02:00
parent e7939c9642
commit ecf6289da3
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -9,16 +9,20 @@ class ClangError:
@property
def filename(self) -> str:
"""Dans quel fichier se situe l'erreur"""
return self._filename
@property
def line_number(self) -> int:
"""Sur quelle ligne se situe l'erreur"""
return self._line_number
@property
def column_number(self) -> int:
"""Où se situe l'erreur sur la ligne"""
return self._column_number
@property
def warning_message(self) -> str:
"""Quelle est le nom de l'erreur"""
return self._warning_message