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

branch
eric7
changeset 9209
b99e7fd55fd3
parent 8596
d64760b2da50
child 9503
ae9232bf4854
equal deleted inserted replaced
9208:3fc8dfeb6ebe 9209:b99e7fd55fd3
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric7.QScintilla.Lexers.LexerJavaScript</title>
4 <meta charset="UTF-8">
5 <link rel="stylesheet" href="styles.css">
6 </head>
7 <body>
8 <a NAME="top" ID="top"></a>
9 <h1>eric7.QScintilla.Lexers.LexerJavaScript</h1>
10
11 <p>
12 Module implementing a JavaScript lexer with some additional methods.
13 </p>
14 <h3>Global Attributes</h3>
15
16 <table>
17 <tr><td>None</td></tr>
18 </table>
19 <h3>Classes</h3>
20
21 <table>
22
23 <tr>
24 <td><a href="#LexerJavaScript">LexerJavaScript</a></td>
25 <td>Subclass to implement some additional lexer dependant methods.</td>
26 </tr>
27 </table>
28 <h3>Functions</h3>
29
30 <table>
31 <tr><td>None</td></tr>
32 </table>
33 <hr />
34 <hr />
35 <a NAME="LexerJavaScript" ID="LexerJavaScript"></a>
36 <h2>LexerJavaScript</h2>
37
38 <p>
39 Subclass to implement some additional lexer dependant methods.
40 </p>
41 <h3>Derived from</h3>
42 Lexer, QsciLexerJavaScript
43 <h3>Class Attributes</h3>
44
45 <table>
46 <tr><td>None</td></tr>
47 </table>
48 <h3>Class Methods</h3>
49
50 <table>
51 <tr><td>None</td></tr>
52 </table>
53 <h3>Methods</h3>
54
55 <table>
56
57 <tr>
58 <td><a href="#LexerJavaScript.__init__">LexerJavaScript</a></td>
59 <td>Constructor</td>
60 </tr>
61 <tr>
62 <td><a href="#LexerJavaScript.defaultKeywords">defaultKeywords</a></td>
63 <td>Public method to get the default keywords.</td>
64 </tr>
65 <tr>
66 <td><a href="#LexerJavaScript.initProperties">initProperties</a></td>
67 <td>Public slot to initialize the properties.</td>
68 </tr>
69 <tr>
70 <td><a href="#LexerJavaScript.isCommentStyle">isCommentStyle</a></td>
71 <td>Public method to check, if a style is a comment style.</td>
72 </tr>
73 <tr>
74 <td><a href="#LexerJavaScript.isStringStyle">isStringStyle</a></td>
75 <td>Public method to check, if a style is a string style.</td>
76 </tr>
77 <tr>
78 <td><a href="#LexerJavaScript.maximumKeywordSet">maximumKeywordSet</a></td>
79 <td>Public method to get the maximum keyword set.</td>
80 </tr>
81 </table>
82 <h3>Static Methods</h3>
83
84 <table>
85 <tr><td>None</td></tr>
86 </table>
87
88 <a NAME="LexerJavaScript.__init__" ID="LexerJavaScript.__init__"></a>
89 <h4>LexerJavaScript (Constructor)</h4>
90 <b>LexerJavaScript</b>(<i>parent=None</i>)
91
92 <p>
93 Constructor
94 </p>
95 <dl>
96
97 <dt><i>parent</i></dt>
98 <dd>
99 parent widget of this lexer
100 </dd>
101 </dl>
102 <a NAME="LexerJavaScript.defaultKeywords" ID="LexerJavaScript.defaultKeywords"></a>
103 <h4>LexerJavaScript.defaultKeywords</h4>
104 <b>defaultKeywords</b>(<i>kwSet</i>)
105
106 <p>
107 Public method to get the default keywords.
108 </p>
109 <dl>
110
111 <dt><i>kwSet</i></dt>
112 <dd>
113 number of the keyword set (integer)
114 </dd>
115 </dl>
116 <dl>
117 <dt>Return:</dt>
118 <dd>
119 string giving the keywords (string) or None
120 </dd>
121 </dl>
122 <a NAME="LexerJavaScript.initProperties" ID="LexerJavaScript.initProperties"></a>
123 <h4>LexerJavaScript.initProperties</h4>
124 <b>initProperties</b>(<i></i>)
125
126 <p>
127 Public slot to initialize the properties.
128 </p>
129 <a NAME="LexerJavaScript.isCommentStyle" ID="LexerJavaScript.isCommentStyle"></a>
130 <h4>LexerJavaScript.isCommentStyle</h4>
131 <b>isCommentStyle</b>(<i>style</i>)
132
133 <p>
134 Public method to check, if a style is a comment style.
135 </p>
136 <dl>
137
138 <dt><i>style</i></dt>
139 <dd>
140 style to check (integer)
141 </dd>
142 </dl>
143 <dl>
144 <dt>Return:</dt>
145 <dd>
146 flag indicating a comment style (boolean)
147 </dd>
148 </dl>
149 <a NAME="LexerJavaScript.isStringStyle" ID="LexerJavaScript.isStringStyle"></a>
150 <h4>LexerJavaScript.isStringStyle</h4>
151 <b>isStringStyle</b>(<i>style</i>)
152
153 <p>
154 Public method to check, if a style is a string style.
155 </p>
156 <dl>
157
158 <dt><i>style</i></dt>
159 <dd>
160 style to check (integer)
161 </dd>
162 </dl>
163 <dl>
164 <dt>Return:</dt>
165 <dd>
166 flag indicating a string style (boolean)
167 </dd>
168 </dl>
169 <a NAME="LexerJavaScript.maximumKeywordSet" ID="LexerJavaScript.maximumKeywordSet"></a>
170 <h4>LexerJavaScript.maximumKeywordSet</h4>
171 <b>maximumKeywordSet</b>(<i></i>)
172
173 <p>
174 Public method to get the maximum keyword set.
175 </p>
176 <dl>
177 <dt>Return:</dt>
178 <dd>
179 maximum keyword set (integer)
180 </dd>
181 </dl>
182 <div align="right"><a href="#top">Up</a></div>
183 <hr />
184 </body></html>

eric ide

mercurial