|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.QScintilla.Lexers.LexerMatlab</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.LexerMatlab</h1> |
|
10 |
|
11 <p> |
|
12 Module implementing a Matlab 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="#LexerMatlab">LexerMatlab</a></td> |
|
25 <td>Subclass to implement some additional lexer dependent 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="LexerMatlab" ID="LexerMatlab"></a> |
|
36 <h2>LexerMatlab</h2> |
|
37 |
|
38 <p> |
|
39 Subclass to implement some additional lexer dependent methods. |
|
40 </p> |
|
41 <h3>Derived from</h3> |
|
42 Lexer, QsciLexerMatlab |
|
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="#LexerMatlab.__init__">LexerMatlab</a></td> |
|
59 <td>Constructor</td> |
|
60 </tr> |
|
61 <tr> |
|
62 <td><a href="#LexerMatlab.defaultKeywords">defaultKeywords</a></td> |
|
63 <td>Public method to get the default keywords.</td> |
|
64 </tr> |
|
65 <tr> |
|
66 <td><a href="#LexerMatlab.isCommentStyle">isCommentStyle</a></td> |
|
67 <td>Public method to check, if a style is a comment style.</td> |
|
68 </tr> |
|
69 <tr> |
|
70 <td><a href="#LexerMatlab.isStringStyle">isStringStyle</a></td> |
|
71 <td>Public method to check, if a style is a string style.</td> |
|
72 </tr> |
|
73 </table> |
|
74 <h3>Static Methods</h3> |
|
75 |
|
76 <table> |
|
77 <tr><td>None</td></tr> |
|
78 </table> |
|
79 |
|
80 <a NAME="LexerMatlab.__init__" ID="LexerMatlab.__init__"></a> |
|
81 <h4>LexerMatlab (Constructor)</h4> |
|
82 <b>LexerMatlab</b>(<i>parent=None</i>) |
|
83 |
|
84 <p> |
|
85 Constructor |
|
86 </p> |
|
87 <dl> |
|
88 |
|
89 <dt><i>parent</i></dt> |
|
90 <dd> |
|
91 parent widget of this lexer |
|
92 </dd> |
|
93 </dl> |
|
94 <a NAME="LexerMatlab.defaultKeywords" ID="LexerMatlab.defaultKeywords"></a> |
|
95 <h4>LexerMatlab.defaultKeywords</h4> |
|
96 <b>defaultKeywords</b>(<i>kwSet</i>) |
|
97 |
|
98 <p> |
|
99 Public method to get the default keywords. |
|
100 </p> |
|
101 <dl> |
|
102 |
|
103 <dt><i>kwSet</i></dt> |
|
104 <dd> |
|
105 number of the keyword set (integer) |
|
106 </dd> |
|
107 </dl> |
|
108 <dl> |
|
109 <dt>Return:</dt> |
|
110 <dd> |
|
111 string giving the keywords (string) or None |
|
112 </dd> |
|
113 </dl> |
|
114 <a NAME="LexerMatlab.isCommentStyle" ID="LexerMatlab.isCommentStyle"></a> |
|
115 <h4>LexerMatlab.isCommentStyle</h4> |
|
116 <b>isCommentStyle</b>(<i>style</i>) |
|
117 |
|
118 <p> |
|
119 Public method to check, if a style is a comment style. |
|
120 </p> |
|
121 <dl> |
|
122 |
|
123 <dt><i>style</i></dt> |
|
124 <dd> |
|
125 style to check (integer) |
|
126 </dd> |
|
127 </dl> |
|
128 <dl> |
|
129 <dt>Return:</dt> |
|
130 <dd> |
|
131 flag indicating a comment style (boolean) |
|
132 </dd> |
|
133 </dl> |
|
134 <a NAME="LexerMatlab.isStringStyle" ID="LexerMatlab.isStringStyle"></a> |
|
135 <h4>LexerMatlab.isStringStyle</h4> |
|
136 <b>isStringStyle</b>(<i>style</i>) |
|
137 |
|
138 <p> |
|
139 Public method to check, if a style is a string style. |
|
140 </p> |
|
141 <dl> |
|
142 |
|
143 <dt><i>style</i></dt> |
|
144 <dd> |
|
145 style to check (integer) |
|
146 </dd> |
|
147 </dl> |
|
148 <dl> |
|
149 <dt>Return:</dt> |
|
150 <dd> |
|
151 flag indicating a string style (boolean) |
|
152 </dd> |
|
153 </dl> |
|
154 <div align="right"><a href="#top">Up</a></div> |
|
155 <hr /> |
|
156 </body></html> |