20 </style> |
20 </style> |
21 </head> |
21 </head> |
22 <body><a NAME="top" ID="top"></a> |
22 <body><a NAME="top" ID="top"></a> |
23 <h1>eric5.QScintilla.Lexers.LexerJavaScript</h1> |
23 <h1>eric5.QScintilla.Lexers.LexerJavaScript</h1> |
24 <p> |
24 <p> |
25 Module implementing a JavaScript lexer with some additional methods. |
25 Module implementing a JavaScript lexer with some additional methods. |
26 </p> |
26 </p> |
27 <h3>Global Attributes</h3> |
27 <h3>Global Attributes</h3> |
28 <table> |
28 <table> |
29 <tr><td>None</td></tr> |
29 <tr><td>None</td></tr> |
30 </table> |
30 </table> |
31 <h3>Classes</h3> |
31 <h3>Classes</h3> |
32 <table> |
32 <table> |
33 <tr> |
33 <tr> |
34 <td><a href="#LexerJavaScript">LexerJavaScript</a></td> |
34 <td><a href="#LexerJavaScript">LexerJavaScript</a></td> |
35 <td>Subclass to implement some additional lexer dependant methods.</td> |
35 <td>Subclass to implement some additional lexer dependant methods.</td> |
36 </tr> |
36 </tr> |
37 </table> |
37 </table> |
38 <h3>Functions</h3> |
38 <h3>Functions</h3> |
39 <table> |
39 <table> |
40 <tr><td>None</td></tr> |
40 <tr><td>None</td></tr> |
55 </table> |
55 </table> |
56 <h3>Methods</h3> |
56 <h3>Methods</h3> |
57 <table> |
57 <table> |
58 <tr> |
58 <tr> |
59 <td><a href="#LexerJavaScript.__init__">LexerJavaScript</a></td> |
59 <td><a href="#LexerJavaScript.__init__">LexerJavaScript</a></td> |
60 <td>Constructor</td> |
60 <td>Constructor</td> |
61 </tr><tr> |
61 </tr><tr> |
62 <td><a href="#LexerJavaScript.initProperties">initProperties</a></td> |
62 <td><a href="#LexerJavaScript.initProperties">initProperties</a></td> |
63 <td>Public slot to initialize the properties.</td> |
63 <td>Public slot to initialize the properties.</td> |
64 </tr><tr> |
64 </tr><tr> |
65 <td><a href="#LexerJavaScript.isCommentStyle">isCommentStyle</a></td> |
65 <td><a href="#LexerJavaScript.isCommentStyle">isCommentStyle</a></td> |
66 <td>Public method to check, if a style is a comment style.</td> |
66 <td>Public method to check, if a style is a comment style.</td> |
67 </tr><tr> |
67 </tr><tr> |
68 <td><a href="#LexerJavaScript.isStringStyle">isStringStyle</a></td> |
68 <td><a href="#LexerJavaScript.isStringStyle">isStringStyle</a></td> |
69 <td>Public method to check, if a style is a string style.</td> |
69 <td>Public method to check, if a style is a string style.</td> |
70 </tr> |
70 </tr> |
71 </table> |
71 </table> |
72 <a NAME="LexerJavaScript.__init__" ID="LexerJavaScript.__init__"></a> |
72 <a NAME="LexerJavaScript.__init__" ID="LexerJavaScript.__init__"></a> |
73 <h4>LexerJavaScript (Constructor)</h4> |
73 <h4>LexerJavaScript (Constructor)</h4> |
74 <b>LexerJavaScript</b>(<i>parent=None</i>) |
74 <b>LexerJavaScript</b>(<i>parent=None</i>) |
75 <p> |
75 <p> |
76 Constructor |
76 Constructor |
77 </p><dl> |
77 </p><dl> |
78 <dt><i>parent</i></dt> |
78 <dt><i>parent</i></dt> |
79 <dd> |
79 <dd> |
80 parent widget of this lexer |
80 parent widget of this lexer |
81 </dd> |
81 </dd> |
82 </dl><a NAME="LexerJavaScript.initProperties" ID="LexerJavaScript.initProperties"></a> |
82 </dl><a NAME="LexerJavaScript.initProperties" ID="LexerJavaScript.initProperties"></a> |
83 <h4>LexerJavaScript.initProperties</h4> |
83 <h4>LexerJavaScript.initProperties</h4> |
84 <b>initProperties</b>(<i></i>) |
84 <b>initProperties</b>(<i></i>) |
85 <p> |
85 <p> |
86 Public slot to initialize the properties. |
86 Public slot to initialize the properties. |
87 </p><a NAME="LexerJavaScript.isCommentStyle" ID="LexerJavaScript.isCommentStyle"></a> |
87 </p><a NAME="LexerJavaScript.isCommentStyle" ID="LexerJavaScript.isCommentStyle"></a> |
88 <h4>LexerJavaScript.isCommentStyle</h4> |
88 <h4>LexerJavaScript.isCommentStyle</h4> |
89 <b>isCommentStyle</b>(<i>style</i>) |
89 <b>isCommentStyle</b>(<i>style</i>) |
90 <p> |
90 <p> |
91 Public method to check, if a style is a comment style. |
91 Public method to check, if a style is a comment style. |
92 </p><dl> |
92 </p><dl> |
93 <dt>Returns:</dt> |
93 <dt>Returns:</dt> |
94 <dd> |
94 <dd> |
95 flag indicating a comment style (boolean) |
95 flag indicating a comment style (boolean) |
96 </dd> |
96 </dd> |
97 </dl><a NAME="LexerJavaScript.isStringStyle" ID="LexerJavaScript.isStringStyle"></a> |
97 </dl><a NAME="LexerJavaScript.isStringStyle" ID="LexerJavaScript.isStringStyle"></a> |
98 <h4>LexerJavaScript.isStringStyle</h4> |
98 <h4>LexerJavaScript.isStringStyle</h4> |
99 <b>isStringStyle</b>(<i>style</i>) |
99 <b>isStringStyle</b>(<i>style</i>) |
100 <p> |
100 <p> |
101 Public method to check, if a style is a string style. |
101 Public method to check, if a style is a string style. |
102 </p><dl> |
102 </p><dl> |
103 <dt>Returns:</dt> |
103 <dt>Returns:</dt> |
104 <dd> |
104 <dd> |
105 flag indicating a string style (boolean) |
105 flag indicating a string style (boolean) |
106 </dd> |
106 </dd> |
107 </dl> |
107 </dl> |
108 <div align="right"><a href="#top">Up</a></div> |
108 <div align="right"><a href="#top">Up</a></div> |
109 <hr /> |
109 <hr /> |
110 </body></html> |
110 </body></html> |