|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' |
|
3 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> |
|
4 <html><head> |
|
5 <title>eric5.QScintilla.Lexers.LexerJavaScript</title> |
|
6 <style> |
|
7 b'body {\n background:white;\n margin: 0em 1em 10em 1em;\n color: black;\n}\n\nh1 { color: white; background: #4FA4FF; }\nh2 { color: white; background: #4FA4FF; }\nh3 { color: white; background: #00557F; }\nh4 { color: white; background: #00557F; }\n \na { color: #AA5500; }\n' |
|
8 </style> |
|
9 </head> |
|
10 <body><a NAME="top" ID="top"></a> |
|
11 <h1>eric5.QScintilla.Lexers.LexerJavaScript</h1> |
|
12 <p> |
|
13 Module implementing a JavaScript lexer with some additional methods. |
|
14 </p> |
|
15 <h3>Global Attributes</h3> |
|
16 <table> |
|
17 <tr><td>None</td></tr> |
|
18 </table> |
|
19 <h3>Classes</h3> |
|
20 <table> |
|
21 <tr> |
|
22 <td><a href="#LexerJavaScript">LexerJavaScript</a></td> |
|
23 <td>Subclass to implement some additional lexer dependant methods.</td> |
|
24 </tr> |
|
25 </table> |
|
26 <h3>Functions</h3> |
|
27 <table> |
|
28 <tr><td>None</td></tr> |
|
29 </table> |
|
30 <hr /><hr /> |
|
31 <a NAME="LexerJavaScript" ID="LexerJavaScript"></a> |
|
32 <h2>LexerJavaScript</h2> |
|
33 <p> |
|
34 |
|
35 </p><p> |
|
36 Subclass to implement some additional lexer dependant methods. |
|
37 </p> |
|
38 <h3>Derived from</h3> |
|
39 QsciLexerJavaScript, Lexer |
|
40 <h3>Class Attributes</h3> |
|
41 <table> |
|
42 <tr><td>None</td></tr> |
|
43 </table> |
|
44 <h3>Methods</h3> |
|
45 <table> |
|
46 <tr> |
|
47 <td><a href="#LexerJavaScript.__init__">LexerJavaScript</a></td> |
|
48 <td>Constructor</td> |
|
49 </tr><tr> |
|
50 <td><a href="#LexerJavaScript.initProperties">initProperties</a></td> |
|
51 <td>Public slot to initialize the properties.</td> |
|
52 </tr><tr> |
|
53 <td><a href="#LexerJavaScript.isCommentStyle">isCommentStyle</a></td> |
|
54 <td>Public method to check, if a style is a comment style.</td> |
|
55 </tr><tr> |
|
56 <td><a href="#LexerJavaScript.isStringStyle">isStringStyle</a></td> |
|
57 <td>Public method to check, if a style is a string style.</td> |
|
58 </tr> |
|
59 </table> |
|
60 <a NAME="LexerJavaScript.__init__" ID="LexerJavaScript.__init__"></a> |
|
61 <h4>LexerJavaScript (Constructor)</h4> |
|
62 <b>LexerJavaScript</b>(<i>parent=None</i>) |
|
63 <p> |
|
64 Constructor |
|
65 </p><dl> |
|
66 <dt><i>parent</i></dt> |
|
67 <dd> |
|
68 parent widget of this lexer |
|
69 </dd> |
|
70 </dl><a NAME="LexerJavaScript.initProperties" ID="LexerJavaScript.initProperties"></a> |
|
71 <h4>LexerJavaScript.initProperties</h4> |
|
72 <b>initProperties</b>(<i></i>) |
|
73 <p> |
|
74 Public slot to initialize the properties. |
|
75 </p><a NAME="LexerJavaScript.isCommentStyle" ID="LexerJavaScript.isCommentStyle"></a> |
|
76 <h4>LexerJavaScript.isCommentStyle</h4> |
|
77 <b>isCommentStyle</b>(<i>style</i>) |
|
78 <p> |
|
79 Public method to check, if a style is a comment style. |
|
80 </p><dl> |
|
81 <dt>Returns:</dt> |
|
82 <dd> |
|
83 flag indicating a comment style (boolean) |
|
84 </dd> |
|
85 </dl><a NAME="LexerJavaScript.isStringStyle" ID="LexerJavaScript.isStringStyle"></a> |
|
86 <h4>LexerJavaScript.isStringStyle</h4> |
|
87 <b>isStringStyle</b>(<i>style</i>) |
|
88 <p> |
|
89 Public method to check, if a style is a string style. |
|
90 </p><dl> |
|
91 <dt>Returns:</dt> |
|
92 <dd> |
|
93 flag indicating a string style (boolean) |
|
94 </dd> |
|
95 </dl> |
|
96 <div align="right"><a href="#top">Up</a></div> |
|
97 <hr /> |
|
98 </body></html> |