eric6/Documentation/Source/eric6.QScintilla.Lexers.LexerCPP.html

branch
maintenance
changeset 6989
8b8cadf8d7e9
parent 6942
2602857055c5
child 7273
391d6b7b1eff
equal deleted inserted replaced
6938:7926553b7509 6989:8b8cadf8d7e9
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric6.QScintilla.Lexers.LexerCPP</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><a NAME="top" ID="top"></a>
22 <h1>eric6.QScintilla.Lexers.LexerCPP</h1>
23 <p>
24 Module implementing a CPP lexer with some additional methods.
25 </p>
26 <h3>Global Attributes</h3>
27 <table>
28 <tr><td>None</td></tr>
29 </table>
30 <h3>Classes</h3>
31 <table>
32 <tr>
33 <td><a href="#LexerCPP">LexerCPP</a></td>
34 <td>Subclass to implement some additional lexer dependant methods.</td>
35 </tr>
36 </table>
37 <h3>Functions</h3>
38 <table>
39 <tr><td>None</td></tr>
40 </table>
41 <hr /><hr />
42 <a NAME="LexerCPP" ID="LexerCPP"></a>
43 <h2>LexerCPP</h2>
44 <p>
45 Subclass to implement some additional lexer dependant methods.
46 </p>
47 <h3>Derived from</h3>
48 SubstyledLexer, QsciLexerCPP
49 <h3>Class Attributes</h3>
50 <table>
51 <tr><td>None</td></tr>
52 </table>
53 <h3>Class Methods</h3>
54 <table>
55 <tr><td>None</td></tr>
56 </table>
57 <h3>Methods</h3>
58 <table>
59 <tr>
60 <td><a href="#LexerCPP.__init__">LexerCPP</a></td>
61 <td>Constructor</td>
62 </tr><tr>
63 <td><a href="#LexerCPP.autoCompletionWordSeparators">autoCompletionWordSeparators</a></td>
64 <td>Public method to return the list of separators for autocompletion.</td>
65 </tr><tr>
66 <td><a href="#LexerCPP.defaultKeywords">defaultKeywords</a></td>
67 <td>Public method to get the default keywords.</td>
68 </tr><tr>
69 <td><a href="#LexerCPP.initProperties">initProperties</a></td>
70 <td>Public slot to initialize the properties.</td>
71 </tr><tr>
72 <td><a href="#LexerCPP.isCommentStyle">isCommentStyle</a></td>
73 <td>Public method to check, if a style is a comment style.</td>
74 </tr><tr>
75 <td><a href="#LexerCPP.isStringStyle">isStringStyle</a></td>
76 <td>Public method to check, if a style is a string style.</td>
77 </tr><tr>
78 <td><a href="#LexerCPP.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 <table>
84 <tr><td>None</td></tr>
85 </table>
86 <a NAME="LexerCPP.__init__" ID="LexerCPP.__init__"></a>
87 <h4>LexerCPP (Constructor)</h4>
88 <b>LexerCPP</b>(<i>parent=None, caseInsensitiveKeywords=False</i>)
89 <p>
90 Constructor
91 </p><dl>
92 <dt><i>parent</i></dt>
93 <dd>
94 parent widget of this lexer
95 </dd><dt><i>caseInsensitiveKeywords</i></dt>
96 <dd>
97 flag indicating keywords are case
98 insensitive (boolean)
99 </dd>
100 </dl><a NAME="LexerCPP.autoCompletionWordSeparators" ID="LexerCPP.autoCompletionWordSeparators"></a>
101 <h4>LexerCPP.autoCompletionWordSeparators</h4>
102 <b>autoCompletionWordSeparators</b>(<i></i>)
103 <p>
104 Public method to return the list of separators for autocompletion.
105 </p><dl>
106 <dt>Returns:</dt>
107 <dd>
108 list of separators (list of strings)
109 </dd>
110 </dl><a NAME="LexerCPP.defaultKeywords" ID="LexerCPP.defaultKeywords"></a>
111 <h4>LexerCPP.defaultKeywords</h4>
112 <b>defaultKeywords</b>(<i>kwSet</i>)
113 <p>
114 Public method to get the default keywords.
115 </p><dl>
116 <dt><i>kwSet</i></dt>
117 <dd>
118 number of the keyword set (integer)
119 </dd>
120 </dl><dl>
121 <dt>Returns:</dt>
122 <dd>
123 string giving the keywords (string) or None
124 </dd>
125 </dl><a NAME="LexerCPP.initProperties" ID="LexerCPP.initProperties"></a>
126 <h4>LexerCPP.initProperties</h4>
127 <b>initProperties</b>(<i></i>)
128 <p>
129 Public slot to initialize the properties.
130 </p><a NAME="LexerCPP.isCommentStyle" ID="LexerCPP.isCommentStyle"></a>
131 <h4>LexerCPP.isCommentStyle</h4>
132 <b>isCommentStyle</b>(<i>style</i>)
133 <p>
134 Public method to check, if a style is a comment style.
135 </p><dl>
136 <dt><i>style</i></dt>
137 <dd>
138 style to check (integer)
139 </dd>
140 </dl><dl>
141 <dt>Returns:</dt>
142 <dd>
143 flag indicating a comment style (boolean)
144 </dd>
145 </dl><a NAME="LexerCPP.isStringStyle" ID="LexerCPP.isStringStyle"></a>
146 <h4>LexerCPP.isStringStyle</h4>
147 <b>isStringStyle</b>(<i>style</i>)
148 <p>
149 Public method to check, if a style is a string style.
150 </p><dl>
151 <dt><i>style</i></dt>
152 <dd>
153 style to check (integer)
154 </dd>
155 </dl><dl>
156 <dt>Returns:</dt>
157 <dd>
158 flag indicating a string style (boolean)
159 </dd>
160 </dl><a NAME="LexerCPP.maximumKeywordSet" ID="LexerCPP.maximumKeywordSet"></a>
161 <h4>LexerCPP.maximumKeywordSet</h4>
162 <b>maximumKeywordSet</b>(<i></i>)
163 <p>
164 Public method to get the maximum keyword set.
165 </p><dl>
166 <dt>Returns:</dt>
167 <dd>
168 maximum keyword set (integer)
169 </dd>
170 </dl>
171 <div align="right"><a href="#top">Up</a></div>
172 <hr />
173 </body></html>

eric ide

mercurial