48 if hasattr(self, "lexerId"): |
48 if hasattr(self, "lexerId"): |
49 return None |
49 return None |
50 else: |
50 else: |
51 return "container" |
51 return "container" |
52 |
52 |
53 def description(self, style): # noqa: U100 |
53 def description(self, _style): |
54 """ |
54 """ |
55 Public method returning the descriptions of the styles supported |
55 Public method returning the descriptions of the styles supported |
56 by the lexer. |
56 by the lexer. |
57 |
57 |
58 <b>Note</b>: This methods needs to be overridden by the lexer class. |
58 <b>Note</b>: This methods needs to be overridden by the lexer class. |
59 |
59 |
60 @param style style number |
60 @param _style style number (unused) |
61 @type int |
61 @type int |
62 @return description for the given style |
62 @return description for the given style |
63 @rtype str |
63 @rtype str |
64 """ |
64 """ |
65 return "" |
65 return "" |