Documentation/Source/eric5.QScintilla.Lexers.LexerCoffeeScript.html

changeset 3647
fef91a1eb27b
child 3654
ffeb85cdc72d
equal deleted inserted replaced
3646:cfbb47b6d885 3647:fef91a1eb27b
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric5.QScintilla.Lexers.LexerCoffeeScript</title>
4 <meta charset="UTF-8">
5 <style>
6 body {
7 background: #EDECE6;
8 margin: 0em 1em 10em 1em;
9 color: black;
10 }
11
12 h1 { color: white; background: #85774A; }
13 h2 { color: white; background: #85774A; }
14 h3 { color: white; background: #9D936E; }
15 h4 { color: white; background: #9D936E; }
16
17 a { color: #BA6D36; }
18
19 </style>
20 </head>
21 <body><a NAME="top" ID="top"></a>
22 <h1>eric5.QScintilla.Lexers.LexerCoffeeScript</h1>
23 <p>
24 Module implementing a CoffeeScript lexer with some additional methods.
25 </p>
26 <h3>Global Attributes</h3>
27 <table>
28 <tr><td>None</td></tr>
29 </table>
30 <h3>Classes</h3>
31 <table>
32 <tr>
33 <td><a href="#LexerJavaScript">LexerJavaScript</a></td>
34 <td>Subclass to implement some additional lexer dependant methods.</td>
35 </tr>
36 </table>
37 <h3>Functions</h3>
38 <table>
39 <tr><td>None</td></tr>
40 </table>
41 <hr /><hr />
42 <a NAME="LexerJavaScript" ID="LexerJavaScript"></a>
43 <h2>LexerJavaScript</h2>
44 <p>
45 Subclass to implement some additional lexer dependant methods.
46 </p>
47 <h3>Derived from</h3>
48 Lexer, QsciLexerCoffeScript
49 <h3>Class Attributes</h3>
50 <table>
51 <tr><td>None</td></tr>
52 </table>
53 <h3>Class Methods</h3>
54 <table>
55 <tr><td>None</td></tr>
56 </table>
57 <h3>Methods</h3>
58 <table>
59 <tr>
60 <td><a href="#LexerJavaScript.__init__">LexerJavaScript</a></td>
61 <td>Constructor</td>
62 </tr><tr>
63 <td><a href="#LexerJavaScript.defaultKeywords">defaultKeywords</a></td>
64 <td>Public method to get the default keywords.</td>
65 </tr><tr>
66 <td><a href="#LexerJavaScript.initProperties">initProperties</a></td>
67 <td>Public slot to initialize the properties.</td>
68 </tr><tr>
69 <td><a href="#LexerJavaScript.isCommentStyle">isCommentStyle</a></td>
70 <td>Public method to check, if a style is a comment style.</td>
71 </tr><tr>
72 <td><a href="#LexerJavaScript.isStringStyle">isStringStyle</a></td>
73 <td>Public method to check, if a style is a string style.</td>
74 </tr>
75 </table>
76 <h3>Static Methods</h3>
77 <table>
78 <tr><td>None</td></tr>
79 </table>
80 <a NAME="LexerJavaScript.__init__" ID="LexerJavaScript.__init__"></a>
81 <h4>LexerJavaScript (Constructor)</h4>
82 <b>LexerJavaScript</b>(<i>parent=None</i>)
83 <p>
84 Constructor
85 </p><dl>
86 <dt><i>parent</i></dt>
87 <dd>
88 parent widget of this lexer
89 </dd>
90 </dl><a NAME="LexerJavaScript.defaultKeywords" ID="LexerJavaScript.defaultKeywords"></a>
91 <h4>LexerJavaScript.defaultKeywords</h4>
92 <b>defaultKeywords</b>(<i>kwSet</i>)
93 <p>
94 Public method to get the default keywords.
95 </p><dl>
96 <dt><i>kwSet</i></dt>
97 <dd>
98 number of the keyword set (integer)
99 </dd>
100 </dl><dl>
101 <dt>Returns:</dt>
102 <dd>
103 string giving the keywords (string) or None
104 </dd>
105 </dl><a NAME="LexerJavaScript.initProperties" ID="LexerJavaScript.initProperties"></a>
106 <h4>LexerJavaScript.initProperties</h4>
107 <b>initProperties</b>(<i></i>)
108 <p>
109 Public slot to initialize the properties.
110 </p><a NAME="LexerJavaScript.isCommentStyle" ID="LexerJavaScript.isCommentStyle"></a>
111 <h4>LexerJavaScript.isCommentStyle</h4>
112 <b>isCommentStyle</b>(<i>style</i>)
113 <p>
114 Public method to check, if a style is a comment style.
115 </p><dl>
116 <dt><i>style</i></dt>
117 <dd>
118 style to check (integer)
119 </dd>
120 </dl><dl>
121 <dt>Returns:</dt>
122 <dd>
123 flag indicating a comment style (boolean)
124 </dd>
125 </dl><a NAME="LexerJavaScript.isStringStyle" ID="LexerJavaScript.isStringStyle"></a>
126 <h4>LexerJavaScript.isStringStyle</h4>
127 <b>isStringStyle</b>(<i>style</i>)
128 <p>
129 Public method to check, if a style is a string style.
130 </p><dl>
131 <dt><i>style</i></dt>
132 <dd>
133 style to check (integer)
134 </dd>
135 </dl><dl>
136 <dt>Returns:</dt>
137 <dd>
138 flag indicating a string style (boolean)
139 </dd>
140 </dl>
141 <div align="right"><a href="#top">Up</a></div>
142 <hr />
143 </body></html>

eric ide

mercurial