167 Public method to return the lexer name. |
167 Public method to return the lexer name. |
168 |
168 |
169 @return lexer name (string) |
169 @return lexer name (string) |
170 """ |
170 """ |
171 return "QSS" |
171 return "QSS" |
|
172 |
|
173 |
|
174 def createLexer(variant="", parent=None): |
|
175 """ |
|
176 Function to instantiate a lexer object. |
|
177 |
|
178 @param variant name of the language variant |
|
179 @type str |
|
180 @param parent parent widget of this lexer |
|
181 @type QObject |
|
182 @return instantiated lexer object |
|
183 @rtype LexerQSS |
|
184 """ |
|
185 return LexerQSS(parent=parent) |