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 @property
def filename(self) -> str: def filename(self) -> str:
"""Dans quel fichier se situe l'erreur"""
return self._filename return self._filename
@property @property
def line_number(self) -> int: def line_number(self) -> int:
"""Sur quelle ligne se situe l'erreur"""
return self._line_number return self._line_number
@property @property
def column_number(self) -> int: def column_number(self) -> int:
"""Où se situe l'erreur sur la ligne"""
return self._column_number return self._column_number
@property @property
def warning_message(self) -> str: def warning_message(self) -> str:
"""Quelle est le nom de l'erreur"""
return self._warning_message return self._warning_message