Checks if the current line starts with the preprocessor directive that is complementary to the #ifdef DOC start: #endif. This method is supposed to be called if the current state point to the documentation comment. QUESTIONAL ASSUMPTION: The complete #endif directive is not checked; just the starting #e. However, there is no other preprocessor directive with the same starting letter and thus this
| 107 | // the starting #e. However, there is no other preprocessor directive with |
| 108 | // the same starting letter and thus this optimization should always work. |
| 109 | static bool IsDocCommentEnd(StyleContext &sc) { |
| 110 | return sc.ch == '#' && sc.chNext == 'e'; |
| 111 | } |
| 112 | |
| 113 | class IdentifierClassifier { |
| 114 | WordList &keywords; // Passed from keywords property. |
no outgoing calls
no test coverage detected