51 """ |
51 """ |
52 return self.commentString |
52 return self.commentString |
53 |
53 |
54 def canBlockComment(self): |
54 def canBlockComment(self): |
55 """ |
55 """ |
56 Public method to determine, whether the lexer language supports a block comment. |
56 Public method to determine, whether the lexer language supports a |
|
57 block comment. |
57 |
58 |
58 @return flag (boolean) |
59 @return flag (boolean) |
59 """ |
60 """ |
60 return self.commentString != "" |
61 return self.commentString != "" |
61 |
62 |
67 """ |
68 """ |
68 return self.streamCommentString |
69 return self.streamCommentString |
69 |
70 |
70 def canStreamComment(self): |
71 def canStreamComment(self): |
71 """ |
72 """ |
72 Public method to determine, whether the lexer language supports a stream comment. |
73 Public method to determine, whether the lexer language supports a |
|
74 stream comment. |
73 |
75 |
74 @return flag (boolean) |
76 @return flag (boolean) |
75 """ |
77 """ |
76 return \ |
78 return \ |
77 (self.streamCommentString['start'] != "") and \ |
79 (self.streamCommentString['start'] != "") and \ |
85 """ |
87 """ |
86 return self.boxCommentString |
88 return self.boxCommentString |
87 |
89 |
88 def canBoxComment(self): |
90 def canBoxComment(self): |
89 """ |
91 """ |
90 Public method to determine, whether the lexer language supports a box comment. |
92 Public method to determine, whether the lexer language supports a |
|
93 box comment. |
91 |
94 |
92 @return flag (boolean) |
95 @return flag (boolean) |
93 """ |
96 """ |
94 return \ |
97 return \ |
95 (self.boxCommentString['start'] != "") and \ |
98 (self.boxCommentString['start'] != "") and \ |