|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' |
|
3 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> |
|
4 <html><head> |
|
5 <title>eric5.QScintilla.Lexers.LexerMatlab</title> |
|
6 <style> |
|
7 body { |
|
8 background: #EDECE6; |
|
9 margin: 0em 1em 10em 1em; |
|
10 color: black; |
|
11 } |
|
12 |
|
13 h1 { color: white; background: #85774A; } |
|
14 h2 { color: white; background: #85774A; } |
|
15 h3 { color: white; background: #9D936E; } |
|
16 h4 { color: white; background: #9D936E; } |
|
17 |
|
18 a { color: #BA6D36; } |
|
19 |
|
20 </style> |
|
21 </head> |
|
22 <body><a NAME="top" ID="top"></a> |
|
23 <h1>eric5.QScintilla.Lexers.LexerMatlab</h1> |
|
24 <p> |
|
25 Module implementing a Matlab lexer with some additional methods. |
|
26 </p> |
|
27 <h3>Global Attributes</h3> |
|
28 <table> |
|
29 <tr><td>None</td></tr> |
|
30 </table> |
|
31 <h3>Classes</h3> |
|
32 <table> |
|
33 <tr> |
|
34 <td><a href="#LexerMatlab">LexerMatlab</a></td> |
|
35 <td>Subclass to implement some additional lexer dependent methods.</td> |
|
36 </tr> |
|
37 </table> |
|
38 <h3>Functions</h3> |
|
39 <table> |
|
40 <tr><td>None</td></tr> |
|
41 </table> |
|
42 <hr /><hr /> |
|
43 <a NAME="LexerMatlab" ID="LexerMatlab"></a> |
|
44 <h2>LexerMatlab</h2> |
|
45 <p> |
|
46 Subclass to implement some additional lexer dependent methods. |
|
47 </p> |
|
48 <h3>Derived from</h3> |
|
49 QsciLexerMatlab, Lexer |
|
50 <h3>Class Attributes</h3> |
|
51 <table> |
|
52 <tr><td>None</td></tr> |
|
53 </table> |
|
54 <h3>Methods</h3> |
|
55 <table> |
|
56 <tr> |
|
57 <td><a href="#LexerMatlab.__init__">LexerMatlab</a></td> |
|
58 <td>Constructor</td> |
|
59 </tr><tr> |
|
60 <td><a href="#LexerMatlab.defaultKeywords">defaultKeywords</a></td> |
|
61 <td>Public method to get the default keywords.</td> |
|
62 </tr><tr> |
|
63 <td><a href="#LexerMatlab.isCommentStyle">isCommentStyle</a></td> |
|
64 <td>Public method to check, if a style is a comment style.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#LexerMatlab.isStringStyle">isStringStyle</a></td> |
|
67 <td>Public method to check, if a style is a string style.</td> |
|
68 </tr> |
|
69 </table> |
|
70 <a NAME="LexerMatlab.__init__" ID="LexerMatlab.__init__"></a> |
|
71 <h4>LexerMatlab (Constructor)</h4> |
|
72 <b>LexerMatlab</b>(<i>parent=None</i>) |
|
73 <p> |
|
74 Constructor |
|
75 </p><dl> |
|
76 <dt><i>parent</i></dt> |
|
77 <dd> |
|
78 parent widget of this lexer |
|
79 </dd> |
|
80 </dl><a NAME="LexerMatlab.defaultKeywords" ID="LexerMatlab.defaultKeywords"></a> |
|
81 <h4>LexerMatlab.defaultKeywords</h4> |
|
82 <b>defaultKeywords</b>(<i>kwSet</i>) |
|
83 <p> |
|
84 Public method to get the default keywords. |
|
85 </p><dl> |
|
86 <dt><i>kwSet</i></dt> |
|
87 <dd> |
|
88 number of the keyword set (integer) |
|
89 </dd> |
|
90 </dl><dl> |
|
91 <dt>Returns:</dt> |
|
92 <dd> |
|
93 string giving the keywords (string) or None |
|
94 </dd> |
|
95 </dl><a NAME="LexerMatlab.isCommentStyle" ID="LexerMatlab.isCommentStyle"></a> |
|
96 <h4>LexerMatlab.isCommentStyle</h4> |
|
97 <b>isCommentStyle</b>(<i>style</i>) |
|
98 <p> |
|
99 Public method to check, if a style is a comment style. |
|
100 </p><dl> |
|
101 <dt>Returns:</dt> |
|
102 <dd> |
|
103 flag indicating a comment style (boolean) |
|
104 </dd> |
|
105 </dl><a NAME="LexerMatlab.isStringStyle" ID="LexerMatlab.isStringStyle"></a> |
|
106 <h4>LexerMatlab.isStringStyle</h4> |
|
107 <b>isStringStyle</b>(<i>style</i>) |
|
108 <p> |
|
109 Public method to check, if a style is a string style. |
|
110 </p><dl> |
|
111 <dt>Returns:</dt> |
|
112 <dd> |
|
113 flag indicating a string style (boolean) |
|
114 </dd> |
|
115 </dl> |
|
116 <div align="right"><a href="#top">Up</a></div> |
|
117 <hr /> |
|
118 </body></html> |