--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/eric7/Documentation/Source/eric7.QScintilla.Lexers.LexerPerl.html Thu Jul 07 11:23:56 2022 +0200 @@ -0,0 +1,184 @@ +<!DOCTYPE html> +<html><head> +<title>eric7.QScintilla.Lexers.LexerPerl</title> +<meta charset="UTF-8"> +<link rel="stylesheet" href="styles.css"> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>eric7.QScintilla.Lexers.LexerPerl</h1> + +<p> +Module implementing a Perl 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="#LexerPerl">LexerPerl</a></td> +<td>Subclass to implement some additional lexer dependant methods.</td> +</tr> +</table> +<h3>Functions</h3> + +<table> +<tr><td>None</td></tr> +</table> +<hr /> +<hr /> +<a NAME="LexerPerl" ID="LexerPerl"></a> +<h2>LexerPerl</h2> + +<p> + Subclass to implement some additional lexer dependant methods. +</p> +<h3>Derived from</h3> +Lexer, QsciLexerPerl +<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="#LexerPerl.__init__">LexerPerl</a></td> +<td>Constructor</td> +</tr> +<tr> +<td><a href="#LexerPerl.autoCompletionWordSeparators">autoCompletionWordSeparators</a></td> +<td>Public method to return the list of separators for autocompletion.</td> +</tr> +<tr> +<td><a href="#LexerPerl.defaultKeywords">defaultKeywords</a></td> +<td>Public method to get the default keywords.</td> +</tr> +<tr> +<td><a href="#LexerPerl.initProperties">initProperties</a></td> +<td>Public slot to initialize the properties.</td> +</tr> +<tr> +<td><a href="#LexerPerl.isCommentStyle">isCommentStyle</a></td> +<td>Public method to check, if a style is a comment style.</td> +</tr> +<tr> +<td><a href="#LexerPerl.isStringStyle">isStringStyle</a></td> +<td>Public method to check, if a style is a string style.</td> +</tr> +</table> +<h3>Static Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> + +<a NAME="LexerPerl.__init__" ID="LexerPerl.__init__"></a> +<h4>LexerPerl (Constructor)</h4> +<b>LexerPerl</b>(<i>parent=None</i>) + +<p> + Constructor +</p> +<dl> + +<dt><i>parent</i></dt> +<dd> +parent widget of this lexer +</dd> +</dl> +<a NAME="LexerPerl.autoCompletionWordSeparators" ID="LexerPerl.autoCompletionWordSeparators"></a> +<h4>LexerPerl.autoCompletionWordSeparators</h4> +<b>autoCompletionWordSeparators</b>(<i></i>) + +<p> + Public method to return the list of separators for autocompletion. +</p> +<dl> +<dt>Return:</dt> +<dd> +list of separators (list of strings) +</dd> +</dl> +<a NAME="LexerPerl.defaultKeywords" ID="LexerPerl.defaultKeywords"></a> +<h4>LexerPerl.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="LexerPerl.initProperties" ID="LexerPerl.initProperties"></a> +<h4>LexerPerl.initProperties</h4> +<b>initProperties</b>(<i></i>) + +<p> + Public slot to initialize the properties. +</p> +<a NAME="LexerPerl.isCommentStyle" ID="LexerPerl.isCommentStyle"></a> +<h4>LexerPerl.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="LexerPerl.isStringStyle" ID="LexerPerl.isStringStyle"></a> +<h4>LexerPerl.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> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file