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

eric ide

mercurial