comments
This commit is contained in:
parent
e7939c9642
commit
ecf6289da3
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||||
|
|
Reference in a new issue