|
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>eric4.QScintilla.Lexers.LexerJava</title> |
|
6 <style> |
|
7 body { |
|
8 background:white; |
|
9 margin: 0em 1em 10em 1em; |
|
10 color: black; |
|
11 } |
|
12 |
|
13 h1 { color: white; background: #4FA4FF; } |
|
14 h2 { color: white; background: #4FA4FF; } |
|
15 h3 { color: white; background: #00557F; } |
|
16 h4 { color: white; background: #00557F; } |
|
17 |
|
18 a { color: #AA5500; } |
|
19 |
|
20 </style> |
|
21 </head> |
|
22 <body><a NAME="top" ID="top"></a> |
|
23 <h1>eric4.QScintilla.Lexers.LexerJava</h1> |
|
24 <p> |
|
25 Module implementing a Java lexer with some additional methods. |
|
26 </p> |
|
27 <h3>Global Attributes</h3> |
|
28 <table> |
|
29 <tr><td>None</td></tr> |
|
30 </table> |
|
31 <h3>Classes</h3> |
|
32 <table> |
|
33 <tr> |
|
34 <td><a href="#LexerJava">LexerJava</a></td> |
|
35 <td>Subclass to implement some additional lexer dependant methods.</td> |
|
36 </tr> |
|
37 </table> |
|
38 <h3>Functions</h3> |
|
39 <table> |
|
40 <tr><td>None</td></tr> |
|
41 </table> |
|
42 <hr /><hr /> |
|
43 <a NAME="LexerJava" ID="LexerJava"></a> |
|
44 <h2>LexerJava</h2> |
|
45 <p> |
|
46 |
|
47 </p><p> |
|
48 Subclass to implement some additional lexer dependant methods. |
|
49 </p> |
|
50 <h3>Derived from</h3> |
|
51 QsciLexerJava, Lexer |
|
52 <h3>Class Attributes</h3> |
|
53 <table> |
|
54 <tr><td>None</td></tr> |
|
55 </table> |
|
56 <h3>Methods</h3> |
|
57 <table> |
|
58 <tr> |
|
59 <td><a href="#LexerJava.__init__">LexerJava</a></td> |
|
60 <td>Constructor</td> |
|
61 </tr><tr> |
|
62 <td><a href="#LexerJava.initProperties">initProperties</a></td> |
|
63 <td>Public slot to initialize the properties.</td> |
|
64 </tr><tr> |
|
65 <td><a href="#LexerJava.isCommentStyle">isCommentStyle</a></td> |
|
66 <td>Public method to check, if a style is a comment style.</td> |
|
67 </tr><tr> |
|
68 <td><a href="#LexerJava.isStringStyle">isStringStyle</a></td> |
|
69 <td>Public method to check, if a style is a string style.</td> |
|
70 </tr> |
|
71 </table> |
|
72 <a NAME="LexerJava.__init__" ID="LexerJava.__init__"></a> |
|
73 <h4>LexerJava (Constructor)</h4> |
|
74 <b>LexerJava</b>(<i>parent=None</i>) |
|
75 <p> |
|
76 Constructor |
|
77 </p><dl> |
|
78 <dt><i>parent</i></dt> |
|
79 <dd> |
|
80 parent widget of this lexer |
|
81 </dd> |
|
82 </dl><a NAME="LexerJava.initProperties" ID="LexerJava.initProperties"></a> |
|
83 <h4>LexerJava.initProperties</h4> |
|
84 <b>initProperties</b>(<i></i>) |
|
85 <p> |
|
86 Public slot to initialize the properties. |
|
87 </p><a NAME="LexerJava.isCommentStyle" ID="LexerJava.isCommentStyle"></a> |
|
88 <h4>LexerJava.isCommentStyle</h4> |
|
89 <b>isCommentStyle</b>(<i>style</i>) |
|
90 <p> |
|
91 Public method to check, if a style is a comment style. |
|
92 </p><dl> |
|
93 <dt>Returns:</dt> |
|
94 <dd> |
|
95 flag indicating a comment style (boolean) |
|
96 </dd> |
|
97 </dl><a NAME="LexerJava.isStringStyle" ID="LexerJava.isStringStyle"></a> |
|
98 <h4>LexerJava.isStringStyle</h4> |
|
99 <b>isStringStyle</b>(<i>style</i>) |
|
100 <p> |
|
101 Public method to check, if a style is a string style. |
|
102 </p><dl> |
|
103 <dt>Returns:</dt> |
|
104 <dd> |
|
105 flag indicating a string style (boolean) |
|
106 </dd> |
|
107 </dl> |
|
108 <div align="right"><a href="#top">Up</a></div> |
|
109 <hr /> |
|
110 </body></html> |