53 """ |
53 """ |
54 return self.commentString |
54 return self.commentString |
55 |
55 |
56 def canBlockComment(self): |
56 def canBlockComment(self): |
57 """ |
57 """ |
58 Public method to determine, whether the lexer language supports a block comment. |
58 Public method to determine, whether the lexer language supports a |
|
59 block comment. |
59 |
60 |
60 @return flag (boolean) |
61 @return flag (boolean) |
61 """ |
62 """ |
62 return self.commentString != "" |
63 return self.commentString != "" |
63 |
64 |
69 """ |
70 """ |
70 return self.streamCommentString |
71 return self.streamCommentString |
71 |
72 |
72 def canStreamComment(self): |
73 def canStreamComment(self): |
73 """ |
74 """ |
74 Public method to determine, whether the lexer language supports a stream comment. |
75 Public method to determine, whether the lexer language supports a |
|
76 stream comment. |
75 |
77 |
76 @return flag (boolean) |
78 @return flag (boolean) |
77 """ |
79 """ |
78 return \ |
80 return \ |
79 (self.streamCommentString['start'] != "") and \ |
81 (self.streamCommentString['start'] != "") and \ |
87 """ |
89 """ |
88 return self.boxCommentString |
90 return self.boxCommentString |
89 |
91 |
90 def canBoxComment(self): |
92 def canBoxComment(self): |
91 """ |
93 """ |
92 Public method to determine, whether the lexer language supports a box comment. |
94 Public method to determine, whether the lexer language supports a |
|
95 box comment. |
93 |
96 |
94 @return flag (boolean) |
97 @return flag (boolean) |
95 """ |
98 """ |
96 return \ |
99 return \ |
97 (self.boxCommentString['start'] != "") and \ |
100 (self.boxCommentString['start'] != "") and \ |
190 |
193 |
191 def isCommentStyle(self, style): |
194 def isCommentStyle(self, style): |
192 """ |
195 """ |
193 Public method to check, if a style is a comment style. |
196 Public method to check, if a style is a comment style. |
194 |
197 |
|
198 @param style style to check (integer) |
195 @return flag indicating a comment style (boolean) |
199 @return flag indicating a comment style (boolean) |
196 """ |
200 """ |
197 return True |
201 return True |
198 |
202 |
199 def isStringStyle(self, style): |
203 def isStringStyle(self, style): |
200 """ |
204 """ |
201 Public method to check, if a style is a string style. |
205 Public method to check, if a style is a string style. |
202 |
206 |
|
207 @param style style to check (integer) |
203 @return flag indicating a string style (boolean) |
208 @return flag indicating a string style (boolean) |
204 """ |
209 """ |
205 return True |
210 return True |
206 |
211 |
207 def keywords(self, kwSet): |
212 def keywords(self, kwSet): |