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