eric7/Documentation/Source/eric7.QScintilla.Lexers.LexerJavaScript.html

branch
eric7
changeset 8372
e0227a7c850e
child 8596
d64760b2da50
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/eric7/Documentation/Source/eric7.QScintilla.Lexers.LexerJavaScript.html	Mon May 24 11:19:57 2021 +0200
@@ -0,0 +1,198 @@
+<!DOCTYPE html>
+<html><head>
+<title>eric7.QScintilla.Lexers.LexerJavaScript</title>
+<meta charset="UTF-8">
+<style>
+body {
+    background: #EDECE6;
+    margin: 0em 1em 10em 1em;
+    color: black;
+}
+
+h1 { color: white; background: #85774A; }
+h2 { color: white; background: #85774A; }
+h3 { color: white; background: #9D936E; }
+h4 { color: white; background: #9D936E; }
+    
+a { color: #BA6D36; }
+
+</style>
+</head>
+<body>
+<a NAME="top" ID="top"></a>
+<h1>eric7.QScintilla.Lexers.LexerJavaScript</h1>
+
+<p>
+Module implementing a JavaScript 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="#LexerJavaScript">LexerJavaScript</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="LexerJavaScript" ID="LexerJavaScript"></a>
+<h2>LexerJavaScript</h2>
+
+<p>
+    Subclass to implement some additional lexer dependant methods.
+</p>
+<h3>Derived from</h3>
+Lexer, QsciLexerJavaScript
+<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="#LexerJavaScript.__init__">LexerJavaScript</a></td>
+<td>Constructor</td>
+</tr>
+<tr>
+<td><a href="#LexerJavaScript.defaultKeywords">defaultKeywords</a></td>
+<td>Public method to get the default keywords.</td>
+</tr>
+<tr>
+<td><a href="#LexerJavaScript.initProperties">initProperties</a></td>
+<td>Public slot to initialize the properties.</td>
+</tr>
+<tr>
+<td><a href="#LexerJavaScript.isCommentStyle">isCommentStyle</a></td>
+<td>Public method to check, if a style is a comment style.</td>
+</tr>
+<tr>
+<td><a href="#LexerJavaScript.isStringStyle">isStringStyle</a></td>
+<td>Public method to check, if a style is a string style.</td>
+</tr>
+<tr>
+<td><a href="#LexerJavaScript.maximumKeywordSet">maximumKeywordSet</a></td>
+<td>Public method to get the maximum keyword set.</td>
+</tr>
+</table>
+<h3>Static Methods</h3>
+
+<table>
+<tr><td>None</td></tr>
+</table>
+
+<a NAME="LexerJavaScript.__init__" ID="LexerJavaScript.__init__"></a>
+<h4>LexerJavaScript (Constructor)</h4>
+<b>LexerJavaScript</b>(<i>parent=None</i>)
+
+<p>
+        Constructor
+</p>
+<dl>
+
+<dt><i>parent</i></dt>
+<dd>
+parent widget of this lexer
+</dd>
+</dl>
+<a NAME="LexerJavaScript.defaultKeywords" ID="LexerJavaScript.defaultKeywords"></a>
+<h4>LexerJavaScript.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="LexerJavaScript.initProperties" ID="LexerJavaScript.initProperties"></a>
+<h4>LexerJavaScript.initProperties</h4>
+<b>initProperties</b>(<i></i>)
+
+<p>
+        Public slot to initialize the properties.
+</p>
+<a NAME="LexerJavaScript.isCommentStyle" ID="LexerJavaScript.isCommentStyle"></a>
+<h4>LexerJavaScript.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="LexerJavaScript.isStringStyle" ID="LexerJavaScript.isStringStyle"></a>
+<h4>LexerJavaScript.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="LexerJavaScript.maximumKeywordSet" ID="LexerJavaScript.maximumKeywordSet"></a>
+<h4>LexerJavaScript.maximumKeywordSet</h4>
+<b>maximumKeywordSet</b>(<i></i>)
+
+<p>
+        Public method to get the maximum keyword set.
+</p>
+<dl>
+<dt>Return:</dt>
+<dd>
+maximum keyword set (integer)
+</dd>
+</dl>
+<div align="right"><a href="#top">Up</a></div>
+<hr />
+</body></html>
\ No newline at end of file

eric ide

mercurial