Fri, 27 Oct 2023 14:09:40 +0200
Regenerated the source documentation with the corrected module parser.
<!DOCTYPE html> <html><head> <title>eric7.QScintilla.Lexers.LexerQSS</title> <meta charset="UTF-8"> <link rel="stylesheet" href="styles.css"> </head> <body> <a NAME="top" ID="top"></a> <h1>eric7.QScintilla.Lexers.LexerQSS</h1> <p> Module implementing a QSS lexer with some additional methods. </p> <h3>Global Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Classes</h3> <table> <tr> <td><a href="#LexerQSS">LexerQSS</a></td> <td>Subclass to implement some additional lexer dependent methods.</td> </tr> </table> <h3>Functions</h3> <table> <tr> <td><a href="#createLexer">createLexer</a></td> <td>Function to instantiate a lexer object.</td> </tr> </table> <hr /> <hr /> <a NAME="LexerQSS" ID="LexerQSS"></a> <h2>LexerQSS</h2> <p> Subclass to implement some additional lexer dependent methods. </p> <h3>Derived from</h3> Lexer, QsciLexerCSS <h3>Class Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Class Methods</h3> <table> <tr><td>None</td></tr> </table> <h3>Methods</h3> <table> <tr> <td><a href="#LexerQSS.__init__">LexerQSS</a></td> <td>Constructor</td> </tr> <tr> <td><a href="#LexerQSS.defaultKeywords">defaultKeywords</a></td> <td>Public method to get the default keywords.</td> </tr> <tr> <td><a href="#LexerQSS.initProperties">initProperties</a></td> <td>Public slot to initialize the properties.</td> </tr> <tr> <td><a href="#LexerQSS.isCommentStyle">isCommentStyle</a></td> <td>Public method to check, if a style is a comment style.</td> </tr> <tr> <td><a href="#LexerQSS.isStringStyle">isStringStyle</a></td> <td>Public method to check, if a style is a string style.</td> </tr> <tr> <td><a href="#LexerQSS.language">language</a></td> <td>Public method to return the lexer language.</td> </tr> <tr> <td><a href="#LexerQSS.lexerName">lexerName</a></td> <td>Public method to return the lexer name.</td> </tr> </table> <h3>Static Methods</h3> <table> <tr><td>None</td></tr> </table> <a NAME="LexerQSS.__init__" ID="LexerQSS.__init__"></a> <h4>LexerQSS (Constructor)</h4> <b>LexerQSS</b>(<i>parent=None</i>) <p> Constructor </p> <dl> <dt><i>parent</i></dt> <dd> parent widget of this lexer </dd> </dl> <a NAME="LexerQSS.defaultKeywords" ID="LexerQSS.defaultKeywords"></a> <h4>LexerQSS.defaultKeywords</h4> <b>defaultKeywords</b>(<i>kwSet</i>) <p> Public method to get the default keywords. </p> <dl> <dt><i>kwSet</i></dt> <dd> number of the keyword set (integer) </dd> </dl> <dl> <dt>Return:</dt> <dd> string giving the keywords (string) or None </dd> </dl> <a NAME="LexerQSS.initProperties" ID="LexerQSS.initProperties"></a> <h4>LexerQSS.initProperties</h4> <b>initProperties</b>(<i></i>) <p> Public slot to initialize the properties. </p> <a NAME="LexerQSS.isCommentStyle" ID="LexerQSS.isCommentStyle"></a> <h4>LexerQSS.isCommentStyle</h4> <b>isCommentStyle</b>(<i>style</i>) <p> Public method to check, if a style is a comment style. </p> <dl> <dt><i>style</i></dt> <dd> style to check (integer) </dd> </dl> <dl> <dt>Return:</dt> <dd> flag indicating a comment style (boolean) </dd> </dl> <a NAME="LexerQSS.isStringStyle" ID="LexerQSS.isStringStyle"></a> <h4>LexerQSS.isStringStyle</h4> <b>isStringStyle</b>(<i>style</i>) <p> Public method to check, if a style is a string style. </p> <dl> <dt><i>style</i></dt> <dd> style to check (integer) </dd> </dl> <dl> <dt>Return:</dt> <dd> flag indicating a string style (boolean) </dd> </dl> <a NAME="LexerQSS.language" ID="LexerQSS.language"></a> <h4>LexerQSS.language</h4> <b>language</b>(<i></i>) <p> Public method to return the lexer language. </p> <dl> <dt>Return:</dt> <dd> lexer language (string) </dd> </dl> <a NAME="LexerQSS.lexerName" ID="LexerQSS.lexerName"></a> <h4>LexerQSS.lexerName</h4> <b>lexerName</b>(<i></i>) <p> Public method to return the lexer name. </p> <dl> <dt>Return:</dt> <dd> lexer name (string) </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> <hr /> <a NAME="createLexer" ID="createLexer"></a> <h2>createLexer</h2> <b>createLexer</b>(<i>variant="", parent=None</i>) <p> Function to instantiate a lexer object. </p> <dl> <dt><i>variant</i> (str)</dt> <dd> name of the language variant </dd> <dt><i>parent</i> (QObject)</dt> <dd> parent widget of this lexer </dd> </dl> <dl> <dt>Return:</dt> <dd> instantiated lexer object </dd> </dl> <dl> <dt>Return Type:</dt> <dd> LexerQSS </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> </body></html>