src/eric7/Documentation/Source/eric7.QScintilla.Lexers.LexerLua.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.LexerLua</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.LexerLua</h1>
10
11 <p>
12 Module implementing a Lua 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="#LexerLua">LexerLua</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="LexerLua" ID="LexerLua"></a>
36 <h2>LexerLua</h2>
37
38 <p>
39 Subclass to implement some additional lexer dependant methods.
40 </p>
41 <h3>Derived from</h3>
42 Lexer, QsciLexerLua
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="#LexerLua.__init__">LexerLua</a></td>
59 <td>Constructor</td>
60 </tr>
61 <tr>
62 <td><a href="#LexerLua.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="#LexerLua.defaultKeywords">defaultKeywords</a></td>
67 <td>Public method to get the default keywords.</td>
68 </tr>
69 <tr>
70 <td><a href="#LexerLua.initProperties">initProperties</a></td>
71 <td>Public slot to initialize the properties.</td>
72 </tr>
73 <tr>
74 <td><a href="#LexerLua.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="#LexerLua.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="#LexerLua.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="LexerLua.__init__" ID="LexerLua.__init__"></a>
93 <h4>LexerLua (Constructor)</h4>
94 <b>LexerLua</b>(<i>parent=None</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 </dl>
106 <a NAME="LexerLua.autoCompletionWordSeparators" ID="LexerLua.autoCompletionWordSeparators"></a>
107 <h4>LexerLua.autoCompletionWordSeparators</h4>
108 <b>autoCompletionWordSeparators</b>(<i></i>)
109
110 <p>
111 Public method to return the list of separators for autocompletion.
112 </p>
113 <dl>
114 <dt>Return:</dt>
115 <dd>
116 list of separators (list of strings)
117 </dd>
118 </dl>
119 <a NAME="LexerLua.defaultKeywords" ID="LexerLua.defaultKeywords"></a>
120 <h4>LexerLua.defaultKeywords</h4>
121 <b>defaultKeywords</b>(<i>kwSet</i>)
122
123 <p>
124 Public method to get the default keywords.
125 </p>
126 <dl>
127
128 <dt><i>kwSet</i></dt>
129 <dd>
130 number of the keyword set (integer)
131 </dd>
132 </dl>
133 <dl>
134 <dt>Return:</dt>
135 <dd>
136 string giving the keywords (string) or None
137 </dd>
138 </dl>
139 <a NAME="LexerLua.initProperties" ID="LexerLua.initProperties"></a>
140 <h4>LexerLua.initProperties</h4>
141 <b>initProperties</b>(<i></i>)
142
143 <p>
144 Public slot to initialize the properties.
145 </p>
146 <a NAME="LexerLua.isCommentStyle" ID="LexerLua.isCommentStyle"></a>
147 <h4>LexerLua.isCommentStyle</h4>
148 <b>isCommentStyle</b>(<i>style</i>)
149
150 <p>
151 Public method to check, if a style is a comment style.
152 </p>
153 <dl>
154
155 <dt><i>style</i></dt>
156 <dd>
157 style to check (integer)
158 </dd>
159 </dl>
160 <dl>
161 <dt>Return:</dt>
162 <dd>
163 flag indicating a comment style (boolean)
164 </dd>
165 </dl>
166 <a NAME="LexerLua.isStringStyle" ID="LexerLua.isStringStyle"></a>
167 <h4>LexerLua.isStringStyle</h4>
168 <b>isStringStyle</b>(<i>style</i>)
169
170 <p>
171 Public method to check, if a style is a string style.
172 </p>
173 <dl>
174
175 <dt><i>style</i></dt>
176 <dd>
177 style to check (integer)
178 </dd>
179 </dl>
180 <dl>
181 <dt>Return:</dt>
182 <dd>
183 flag indicating a string style (boolean)
184 </dd>
185 </dl>
186 <a NAME="LexerLua.maximumKeywordSet" ID="LexerLua.maximumKeywordSet"></a>
187 <h4>LexerLua.maximumKeywordSet</h4>
188 <b>maximumKeywordSet</b>(<i></i>)
189
190 <p>
191 Public method to get the maximum keyword set.
192 </p>
193 <dl>
194 <dt>Return:</dt>
195 <dd>
196 maximum keyword set (integer)
197 </dd>
198 </dl>
199 <div align="right"><a href="#top">Up</a></div>
200 <hr />
201 </body></html>

eric ide

mercurial