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

changeset 7273
391d6b7b1eff
parent 6942
2602857055c5
child 7989
a21d673a8f99
equal deleted inserted replaced
7272:1779dc278077 7273:391d6b7b1eff
16 16
17 a { color: #BA6D36; } 17 a { color: #BA6D36; }
18 18
19 </style> 19 </style>
20 </head> 20 </head>
21 <body><a NAME="top" ID="top"></a> 21 <body>
22 <a NAME="top" ID="top"></a>
22 <h1>eric6.QScintilla.Lexers.LexerLua</h1> 23 <h1>eric6.QScintilla.Lexers.LexerLua</h1>
24
23 <p> 25 <p>
24 Module implementing a Lua lexer with some additional methods. 26 Module implementing a Lua lexer with some additional methods.
25 </p> 27 </p>
26 <h3>Global Attributes</h3> 28 <h3>Global Attributes</h3>
29
27 <table> 30 <table>
28 <tr><td>None</td></tr> 31 <tr><td>None</td></tr>
29 </table> 32 </table>
30 <h3>Classes</h3> 33 <h3>Classes</h3>
31 <table> 34
35 <table>
36
32 <tr> 37 <tr>
33 <td><a href="#LexerLua">LexerLua</a></td> 38 <td><a href="#LexerLua">LexerLua</a></td>
34 <td>Subclass to implement some additional lexer dependant methods.</td> 39 <td>Subclass to implement some additional lexer dependant methods.</td>
35 </tr> 40 </tr>
36 </table> 41 </table>
37 <h3>Functions</h3> 42 <h3>Functions</h3>
38 <table> 43
39 <tr><td>None</td></tr> 44 <table>
40 </table> 45 <tr><td>None</td></tr>
41 <hr /><hr /> 46 </table>
47 <hr />
48 <hr />
42 <a NAME="LexerLua" ID="LexerLua"></a> 49 <a NAME="LexerLua" ID="LexerLua"></a>
43 <h2>LexerLua</h2> 50 <h2>LexerLua</h2>
51
44 <p> 52 <p>
45 Subclass to implement some additional lexer dependant methods. 53 Subclass to implement some additional lexer dependant methods.
46 </p> 54 </p>
47 <h3>Derived from</h3> 55 <h3>Derived from</h3>
48 Lexer, QsciLexerLua 56 Lexer, QsciLexerLua
49 <h3>Class Attributes</h3> 57 <h3>Class Attributes</h3>
58
50 <table> 59 <table>
51 <tr><td>None</td></tr> 60 <tr><td>None</td></tr>
52 </table> 61 </table>
53 <h3>Class Methods</h3> 62 <h3>Class Methods</h3>
63
54 <table> 64 <table>
55 <tr><td>None</td></tr> 65 <tr><td>None</td></tr>
56 </table> 66 </table>
57 <h3>Methods</h3> 67 <h3>Methods</h3>
58 <table> 68
69 <table>
70
59 <tr> 71 <tr>
60 <td><a href="#LexerLua.__init__">LexerLua</a></td> 72 <td><a href="#LexerLua.__init__">LexerLua</a></td>
61 <td>Constructor</td> 73 <td>Constructor</td>
62 </tr><tr> 74 </tr>
75 <tr>
63 <td><a href="#LexerLua.autoCompletionWordSeparators">autoCompletionWordSeparators</a></td> 76 <td><a href="#LexerLua.autoCompletionWordSeparators">autoCompletionWordSeparators</a></td>
64 <td>Public method to return the list of separators for autocompletion.</td> 77 <td>Public method to return the list of separators for autocompletion.</td>
65 </tr><tr> 78 </tr>
79 <tr>
66 <td><a href="#LexerLua.defaultKeywords">defaultKeywords</a></td> 80 <td><a href="#LexerLua.defaultKeywords">defaultKeywords</a></td>
67 <td>Public method to get the default keywords.</td> 81 <td>Public method to get the default keywords.</td>
68 </tr><tr> 82 </tr>
83 <tr>
69 <td><a href="#LexerLua.initProperties">initProperties</a></td> 84 <td><a href="#LexerLua.initProperties">initProperties</a></td>
70 <td>Public slot to initialize the properties.</td> 85 <td>Public slot to initialize the properties.</td>
71 </tr><tr> 86 </tr>
87 <tr>
72 <td><a href="#LexerLua.isCommentStyle">isCommentStyle</a></td> 88 <td><a href="#LexerLua.isCommentStyle">isCommentStyle</a></td>
73 <td>Public method to check, if a style is a comment style.</td> 89 <td>Public method to check, if a style is a comment style.</td>
74 </tr><tr> 90 </tr>
91 <tr>
75 <td><a href="#LexerLua.isStringStyle">isStringStyle</a></td> 92 <td><a href="#LexerLua.isStringStyle">isStringStyle</a></td>
76 <td>Public method to check, if a style is a string style.</td> 93 <td>Public method to check, if a style is a string style.</td>
77 </tr><tr> 94 </tr>
95 <tr>
78 <td><a href="#LexerLua.maximumKeywordSet">maximumKeywordSet</a></td> 96 <td><a href="#LexerLua.maximumKeywordSet">maximumKeywordSet</a></td>
79 <td>Public method to get the maximum keyword set.</td> 97 <td>Public method to get the maximum keyword set.</td>
80 </tr> 98 </tr>
81 </table> 99 </table>
82 <h3>Static Methods</h3> 100 <h3>Static Methods</h3>
83 <table> 101
84 <tr><td>None</td></tr> 102 <table>
85 </table> 103 <tr><td>None</td></tr>
104 </table>
105
86 <a NAME="LexerLua.__init__" ID="LexerLua.__init__"></a> 106 <a NAME="LexerLua.__init__" ID="LexerLua.__init__"></a>
87 <h4>LexerLua (Constructor)</h4> 107 <h4>LexerLua (Constructor)</h4>
88 <b>LexerLua</b>(<i>parent=None</i>) 108 <b>LexerLua</b>(<i>parent=None</i>)
109
89 <p> 110 <p>
90 Constructor 111 Constructor
91 </p><dl> 112 </p>
113 <dl>
114
92 <dt><i>parent</i></dt> 115 <dt><i>parent</i></dt>
93 <dd> 116 <dd>
94 parent widget of this lexer 117 parent widget of this lexer
95 </dd> 118 </dd>
96 </dl><a NAME="LexerLua.autoCompletionWordSeparators" ID="LexerLua.autoCompletionWordSeparators"></a> 119 </dl>
120 <a NAME="LexerLua.autoCompletionWordSeparators" ID="LexerLua.autoCompletionWordSeparators"></a>
97 <h4>LexerLua.autoCompletionWordSeparators</h4> 121 <h4>LexerLua.autoCompletionWordSeparators</h4>
98 <b>autoCompletionWordSeparators</b>(<i></i>) 122 <b>autoCompletionWordSeparators</b>(<i></i>)
123
99 <p> 124 <p>
100 Public method to return the list of separators for autocompletion. 125 Public method to return the list of separators for autocompletion.
101 </p><dl> 126 </p>
127 <dl>
102 <dt>Returns:</dt> 128 <dt>Returns:</dt>
103 <dd> 129 <dd>
104 list of separators (list of strings) 130 list of separators (list of strings)
105 </dd> 131 </dd>
106 </dl><a NAME="LexerLua.defaultKeywords" ID="LexerLua.defaultKeywords"></a> 132 </dl>
133 <a NAME="LexerLua.defaultKeywords" ID="LexerLua.defaultKeywords"></a>
107 <h4>LexerLua.defaultKeywords</h4> 134 <h4>LexerLua.defaultKeywords</h4>
108 <b>defaultKeywords</b>(<i>kwSet</i>) 135 <b>defaultKeywords</b>(<i>kwSet</i>)
136
109 <p> 137 <p>
110 Public method to get the default keywords. 138 Public method to get the default keywords.
111 </p><dl> 139 </p>
140 <dl>
141
112 <dt><i>kwSet</i></dt> 142 <dt><i>kwSet</i></dt>
113 <dd> 143 <dd>
114 number of the keyword set (integer) 144 number of the keyword set (integer)
115 </dd> 145 </dd>
116 </dl><dl> 146 </dl>
147 <dl>
117 <dt>Returns:</dt> 148 <dt>Returns:</dt>
118 <dd> 149 <dd>
119 string giving the keywords (string) or None 150 string giving the keywords (string) or None
120 </dd> 151 </dd>
121 </dl><a NAME="LexerLua.initProperties" ID="LexerLua.initProperties"></a> 152 </dl>
153 <a NAME="LexerLua.initProperties" ID="LexerLua.initProperties"></a>
122 <h4>LexerLua.initProperties</h4> 154 <h4>LexerLua.initProperties</h4>
123 <b>initProperties</b>(<i></i>) 155 <b>initProperties</b>(<i></i>)
156
124 <p> 157 <p>
125 Public slot to initialize the properties. 158 Public slot to initialize the properties.
126 </p><a NAME="LexerLua.isCommentStyle" ID="LexerLua.isCommentStyle"></a> 159 </p>
160 <a NAME="LexerLua.isCommentStyle" ID="LexerLua.isCommentStyle"></a>
127 <h4>LexerLua.isCommentStyle</h4> 161 <h4>LexerLua.isCommentStyle</h4>
128 <b>isCommentStyle</b>(<i>style</i>) 162 <b>isCommentStyle</b>(<i>style</i>)
163
129 <p> 164 <p>
130 Public method to check, if a style is a comment style. 165 Public method to check, if a style is a comment style.
131 </p><dl> 166 </p>
167 <dl>
168
132 <dt><i>style</i></dt> 169 <dt><i>style</i></dt>
133 <dd> 170 <dd>
134 style to check (integer) 171 style to check (integer)
135 </dd> 172 </dd>
136 </dl><dl> 173 </dl>
174 <dl>
137 <dt>Returns:</dt> 175 <dt>Returns:</dt>
138 <dd> 176 <dd>
139 flag indicating a comment style (boolean) 177 flag indicating a comment style (boolean)
140 </dd> 178 </dd>
141 </dl><a NAME="LexerLua.isStringStyle" ID="LexerLua.isStringStyle"></a> 179 </dl>
180 <a NAME="LexerLua.isStringStyle" ID="LexerLua.isStringStyle"></a>
142 <h4>LexerLua.isStringStyle</h4> 181 <h4>LexerLua.isStringStyle</h4>
143 <b>isStringStyle</b>(<i>style</i>) 182 <b>isStringStyle</b>(<i>style</i>)
183
144 <p> 184 <p>
145 Public method to check, if a style is a string style. 185 Public method to check, if a style is a string style.
146 </p><dl> 186 </p>
187 <dl>
188
147 <dt><i>style</i></dt> 189 <dt><i>style</i></dt>
148 <dd> 190 <dd>
149 style to check (integer) 191 style to check (integer)
150 </dd> 192 </dd>
151 </dl><dl> 193 </dl>
194 <dl>
152 <dt>Returns:</dt> 195 <dt>Returns:</dt>
153 <dd> 196 <dd>
154 flag indicating a string style (boolean) 197 flag indicating a string style (boolean)
155 </dd> 198 </dd>
156 </dl><a NAME="LexerLua.maximumKeywordSet" ID="LexerLua.maximumKeywordSet"></a> 199 </dl>
200 <a NAME="LexerLua.maximumKeywordSet" ID="LexerLua.maximumKeywordSet"></a>
157 <h4>LexerLua.maximumKeywordSet</h4> 201 <h4>LexerLua.maximumKeywordSet</h4>
158 <b>maximumKeywordSet</b>(<i></i>) 202 <b>maximumKeywordSet</b>(<i></i>)
203
159 <p> 204 <p>
160 Public method to get the maximum keyword set. 205 Public method to get the maximum keyword set.
161 </p><dl> 206 </p>
207 <dl>
162 <dt>Returns:</dt> 208 <dt>Returns:</dt>
163 <dd> 209 <dd>
164 maximum keyword set (integer) 210 maximum keyword set (integer)
165 </dd> 211 </dd>
166 </dl> 212 </dl>

eric ide

mercurial