src/eric7/Documentation/Source/eric7.QScintilla.Lexers.LexerCPP.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.LexerCPP</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.LexerCPP</h1>
10
11 <p>
12 Module implementing a CPP 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="#LexerCPP">LexerCPP</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="LexerCPP" ID="LexerCPP"></a>
36 <h2>LexerCPP</h2>
37
38 <p>
39 Subclass to implement some additional lexer dependant methods.
40 </p>
41 <h3>Derived from</h3>
42 SubstyledLexer, QsciLexerCPP
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="#LexerCPP.__init__">LexerCPP</a></td>
59 <td>Constructor</td>
60 </tr>
61 <tr>
62 <td><a href="#LexerCPP.autoCompletionWordSeparators">autoCompletionWordSeparators</a></td>
63 <td>Public method to return the list of separators for autocompletion.</td>
64 </tr>
65 <tr>
66 <td><a href="#LexerCPP.defaultKeywords">defaultKeywords</a></td>
67 <td>Public method to get the default keywords.</td>
68 </tr>
69 <tr>
70 <td><a href="#LexerCPP.initProperties">initProperties</a></td>
71 <td>Public slot to initialize the properties.</td>
72 </tr>
73 <tr>
74 <td><a href="#LexerCPP.isCommentStyle">isCommentStyle</a></td>
75 <td>Public method to check, if a style is a comment style.</td>
76 </tr>
77 <tr>
78 <td><a href="#LexerCPP.isStringStyle">isStringStyle</a></td>
79 <td>Public method to check, if a style is a string style.</td>
80 </tr>
81 <tr>
82 <td><a href="#LexerCPP.maximumKeywordSet">maximumKeywordSet</a></td>
83 <td>Public method to get the maximum keyword set.</td>
84 </tr>
85 </table>
86 <h3>Static Methods</h3>
87
88 <table>
89 <tr><td>None</td></tr>
90 </table>
91
92 <a NAME="LexerCPP.__init__" ID="LexerCPP.__init__"></a>
93 <h4>LexerCPP (Constructor)</h4>
94 <b>LexerCPP</b>(<i>parent=None, caseInsensitiveKeywords=False</i>)
95
96 <p>
97 Constructor
98 </p>
99 <dl>
100
101 <dt><i>parent</i></dt>
102 <dd>
103 parent widget of this lexer
104 </dd>
105 <dt><i>caseInsensitiveKeywords</i></dt>
106 <dd>
107 flag indicating keywords are case
108 insensitive (boolean)
109 </dd>
110 </dl>
111 <a NAME="LexerCPP.autoCompletionWordSeparators" ID="LexerCPP.autoCompletionWordSeparators"></a>
112 <h4>LexerCPP.autoCompletionWordSeparators</h4>
113 <b>autoCompletionWordSeparators</b>(<i></i>)
114
115 <p>
116 Public method to return the list of separators for autocompletion.
117 </p>
118 <dl>
119 <dt>Return:</dt>
120 <dd>
121 list of separators (list of strings)
122 </dd>
123 </dl>
124 <a NAME="LexerCPP.defaultKeywords" ID="LexerCPP.defaultKeywords"></a>
125 <h4>LexerCPP.defaultKeywords</h4>
126 <b>defaultKeywords</b>(<i>kwSet</i>)
127
128 <p>
129 Public method to get the default keywords.
130 </p>
131 <dl>
132
133 <dt><i>kwSet</i></dt>
134 <dd>
135 number of the keyword set (integer)
136 </dd>
137 </dl>
138 <dl>
139 <dt>Return:</dt>
140 <dd>
141 string giving the keywords (string) or None
142 </dd>
143 </dl>
144 <a NAME="LexerCPP.initProperties" ID="LexerCPP.initProperties"></a>
145 <h4>LexerCPP.initProperties</h4>
146 <b>initProperties</b>(<i></i>)
147
148 <p>
149 Public slot to initialize the properties.
150 </p>
151 <a NAME="LexerCPP.isCommentStyle" ID="LexerCPP.isCommentStyle"></a>
152 <h4>LexerCPP.isCommentStyle</h4>
153 <b>isCommentStyle</b>(<i>style</i>)
154
155 <p>
156 Public method to check, if a style is a comment style.
157 </p>
158 <dl>
159
160 <dt><i>style</i></dt>
161 <dd>
162 style to check (integer)
163 </dd>
164 </dl>
165 <dl>
166 <dt>Return:</dt>
167 <dd>
168 flag indicating a comment style (boolean)
169 </dd>
170 </dl>
171 <a NAME="LexerCPP.isStringStyle" ID="LexerCPP.isStringStyle"></a>
172 <h4>LexerCPP.isStringStyle</h4>
173 <b>isStringStyle</b>(<i>style</i>)
174
175 <p>
176 Public method to check, if a style is a string style.
177 </p>
178 <dl>
179
180 <dt><i>style</i></dt>
181 <dd>
182 style to check (integer)
183 </dd>
184 </dl>
185 <dl>
186 <dt>Return:</dt>
187 <dd>
188 flag indicating a string style (boolean)
189 </dd>
190 </dl>
191 <a NAME="LexerCPP.maximumKeywordSet" ID="LexerCPP.maximumKeywordSet"></a>
192 <h4>LexerCPP.maximumKeywordSet</h4>
193 <b>maximumKeywordSet</b>(<i></i>)
194
195 <p>
196 Public method to get the maximum keyword set.
197 </p>
198 <dl>
199 <dt>Return:</dt>
200 <dd>
201 maximum keyword set (integer)
202 </dd>
203 </dl>
204 <div align="right"><a href="#top">Up</a></div>
205 <hr />
206 </body></html>

eric ide

mercurial