28 <tr><td>None</td></tr> |
28 <tr><td>None</td></tr> |
29 </table> |
29 </table> |
30 <h3>Classes</h3> |
30 <h3>Classes</h3> |
31 <table> |
31 <table> |
32 <tr> |
32 <tr> |
33 <td><a href="#LexerJavaScript">LexerJavaScript</a></td> |
33 <td><a href="#LexerCoffeeScript">LexerCoffeeScript</a></td> |
34 <td>Subclass to implement some additional lexer dependant methods.</td> |
34 <td>Subclass to implement some additional lexer dependant methods.</td> |
35 </tr> |
35 </tr> |
36 </table> |
36 </table> |
37 <h3>Functions</h3> |
37 <h3>Functions</h3> |
38 <table> |
38 <table> |
39 <tr><td>None</td></tr> |
39 <tr><td>None</td></tr> |
40 </table> |
40 </table> |
41 <hr /><hr /> |
41 <hr /><hr /> |
42 <a NAME="LexerJavaScript" ID="LexerJavaScript"></a> |
42 <a NAME="LexerCoffeeScript" ID="LexerCoffeeScript"></a> |
43 <h2>LexerJavaScript</h2> |
43 <h2>LexerCoffeeScript</h2> |
44 <p> |
44 <p> |
45 Subclass to implement some additional lexer dependant methods. |
45 Subclass to implement some additional lexer dependant methods. |
46 </p> |
46 </p> |
47 <h3>Derived from</h3> |
47 <h3>Derived from</h3> |
48 Lexer, QsciLexerCoffeScript |
48 Lexer, QsciLexerCoffeeScript |
49 <h3>Class Attributes</h3> |
49 <h3>Class Attributes</h3> |
50 <table> |
50 <table> |
51 <tr><td>None</td></tr> |
51 <tr><td>None</td></tr> |
52 </table> |
52 </table> |
53 <h3>Class Methods</h3> |
53 <h3>Class Methods</h3> |
55 <tr><td>None</td></tr> |
55 <tr><td>None</td></tr> |
56 </table> |
56 </table> |
57 <h3>Methods</h3> |
57 <h3>Methods</h3> |
58 <table> |
58 <table> |
59 <tr> |
59 <tr> |
60 <td><a href="#LexerJavaScript.__init__">LexerJavaScript</a></td> |
60 <td><a href="#LexerCoffeeScript.__init__">LexerCoffeeScript</a></td> |
61 <td>Constructor</td> |
61 <td>Constructor</td> |
62 </tr><tr> |
62 </tr><tr> |
63 <td><a href="#LexerJavaScript.defaultKeywords">defaultKeywords</a></td> |
63 <td><a href="#LexerCoffeeScript.defaultKeywords">defaultKeywords</a></td> |
64 <td>Public method to get the default keywords.</td> |
64 <td>Public method to get the default keywords.</td> |
65 </tr><tr> |
65 </tr><tr> |
66 <td><a href="#LexerJavaScript.initProperties">initProperties</a></td> |
66 <td><a href="#LexerCoffeeScript.initProperties">initProperties</a></td> |
67 <td>Public slot to initialize the properties.</td> |
67 <td>Public slot to initialize the properties.</td> |
68 </tr><tr> |
68 </tr><tr> |
69 <td><a href="#LexerJavaScript.isCommentStyle">isCommentStyle</a></td> |
69 <td><a href="#LexerCoffeeScript.isCommentStyle">isCommentStyle</a></td> |
70 <td>Public method to check, if a style is a comment style.</td> |
70 <td>Public method to check, if a style is a comment style.</td> |
71 </tr><tr> |
71 </tr><tr> |
72 <td><a href="#LexerJavaScript.isStringStyle">isStringStyle</a></td> |
72 <td><a href="#LexerCoffeeScript.isStringStyle">isStringStyle</a></td> |
73 <td>Public method to check, if a style is a string style.</td> |
73 <td>Public method to check, if a style is a string style.</td> |
|
74 </tr><tr> |
|
75 <td><a href="#LexerCoffeeScript.maximumKeywordSet">maximumKeywordSet</a></td> |
|
76 <td>Public method to get the maximum keyword set.</td> |
74 </tr> |
77 </tr> |
75 </table> |
78 </table> |
76 <h3>Static Methods</h3> |
79 <h3>Static Methods</h3> |
77 <table> |
80 <table> |
78 <tr><td>None</td></tr> |
81 <tr><td>None</td></tr> |
79 </table> |
82 </table> |
80 <a NAME="LexerJavaScript.__init__" ID="LexerJavaScript.__init__"></a> |
83 <a NAME="LexerCoffeeScript.__init__" ID="LexerCoffeeScript.__init__"></a> |
81 <h4>LexerJavaScript (Constructor)</h4> |
84 <h4>LexerCoffeeScript (Constructor)</h4> |
82 <b>LexerJavaScript</b>(<i>parent=None</i>) |
85 <b>LexerCoffeeScript</b>(<i>parent=None</i>) |
83 <p> |
86 <p> |
84 Constructor |
87 Constructor |
85 </p><dl> |
88 </p><dl> |
86 <dt><i>parent</i></dt> |
89 <dt><i>parent</i></dt> |
87 <dd> |
90 <dd> |
88 parent widget of this lexer |
91 parent widget of this lexer |
89 </dd> |
92 </dd> |
90 </dl><a NAME="LexerJavaScript.defaultKeywords" ID="LexerJavaScript.defaultKeywords"></a> |
93 </dl><a NAME="LexerCoffeeScript.defaultKeywords" ID="LexerCoffeeScript.defaultKeywords"></a> |
91 <h4>LexerJavaScript.defaultKeywords</h4> |
94 <h4>LexerCoffeeScript.defaultKeywords</h4> |
92 <b>defaultKeywords</b>(<i>kwSet</i>) |
95 <b>defaultKeywords</b>(<i>kwSet</i>) |
93 <p> |
96 <p> |
94 Public method to get the default keywords. |
97 Public method to get the default keywords. |
95 </p><dl> |
98 </p><dl> |
96 <dt><i>kwSet</i></dt> |
99 <dt><i>kwSet</i></dt> |
100 </dl><dl> |
103 </dl><dl> |
101 <dt>Returns:</dt> |
104 <dt>Returns:</dt> |
102 <dd> |
105 <dd> |
103 string giving the keywords (string) or None |
106 string giving the keywords (string) or None |
104 </dd> |
107 </dd> |
105 </dl><a NAME="LexerJavaScript.initProperties" ID="LexerJavaScript.initProperties"></a> |
108 </dl><a NAME="LexerCoffeeScript.initProperties" ID="LexerCoffeeScript.initProperties"></a> |
106 <h4>LexerJavaScript.initProperties</h4> |
109 <h4>LexerCoffeeScript.initProperties</h4> |
107 <b>initProperties</b>(<i></i>) |
110 <b>initProperties</b>(<i></i>) |
108 <p> |
111 <p> |
109 Public slot to initialize the properties. |
112 Public slot to initialize the properties. |
110 </p><a NAME="LexerJavaScript.isCommentStyle" ID="LexerJavaScript.isCommentStyle"></a> |
113 </p><a NAME="LexerCoffeeScript.isCommentStyle" ID="LexerCoffeeScript.isCommentStyle"></a> |
111 <h4>LexerJavaScript.isCommentStyle</h4> |
114 <h4>LexerCoffeeScript.isCommentStyle</h4> |
112 <b>isCommentStyle</b>(<i>style</i>) |
115 <b>isCommentStyle</b>(<i>style</i>) |
113 <p> |
116 <p> |
114 Public method to check, if a style is a comment style. |
117 Public method to check, if a style is a comment style. |
115 </p><dl> |
118 </p><dl> |
116 <dt><i>style</i></dt> |
119 <dt><i>style</i></dt> |
120 </dl><dl> |
123 </dl><dl> |
121 <dt>Returns:</dt> |
124 <dt>Returns:</dt> |
122 <dd> |
125 <dd> |
123 flag indicating a comment style (boolean) |
126 flag indicating a comment style (boolean) |
124 </dd> |
127 </dd> |
125 </dl><a NAME="LexerJavaScript.isStringStyle" ID="LexerJavaScript.isStringStyle"></a> |
128 </dl><a NAME="LexerCoffeeScript.isStringStyle" ID="LexerCoffeeScript.isStringStyle"></a> |
126 <h4>LexerJavaScript.isStringStyle</h4> |
129 <h4>LexerCoffeeScript.isStringStyle</h4> |
127 <b>isStringStyle</b>(<i>style</i>) |
130 <b>isStringStyle</b>(<i>style</i>) |
128 <p> |
131 <p> |
129 Public method to check, if a style is a string style. |
132 Public method to check, if a style is a string style. |
130 </p><dl> |
133 </p><dl> |
131 <dt><i>style</i></dt> |
134 <dt><i>style</i></dt> |