#include <DocParser.h>
Definition at line 29 of file DocParser.h.
◆ DocParser()
| __DCL_BEGIN_NAMESPACE DocParser::DocParser |
( |
const wchar_t * | pchData, |
|
|
size_t | nDataSize, |
|
|
const DocSyntax * | pSyntax ) |
Definition at line 13 of file DocParser.cpp.
14{
17 __pEnd = pchData + nDataSize;
19}
#define __DCL_ASSERT(expr)
const wchar_t * __pCurrent
const DocSyntax * __pSyntax
◆ getNextBlock()
| bool DocParser::getNextBlock |
( |
DOC_BLOCK & | block | ) |
|
Definition at line 32 of file DocParser.cpp.
33{
35 return false;
36
37 ssize_t nLineCommentLength =
__pSyntax->__strLineComment.length();
38
41
43 wchar_t chQuotation = 0;
44 bool bEscape = false;
45
47 switch (state) {
54 }
55 else {
57 continue;
58 }
59 break;
60 }
63 goto __done;
64 break;
65 }
68 if (!bEscape) {
72 goto __done;
73 }
75 bEscape = true;
76 }
77 else
78 bEscape = false;
79 break;
80 }
85 goto __done;
86 }
87 break;
88 }
93 goto __done;
94 }
95 break;
96 }
103 }
107 }
110 goto __done;
111 }
112 else {
114 goto __done;
115 }
116 }
117 else {
120 }
121
124 goto __done;
125 }
126 }
127
128 }
129 else {
132 ) {
135 }
136 }
137 break;
138 }
139 default: {
141 }
142 }
144 }
145
146__done:
148
150
151 return true;
152}
◆ __pCurrent
| const wchar_t* DocParser::__pCurrent |
|
protected |
◆ __pEnd
| const wchar_t* DocParser::__pEnd |
|
protected |
◆ __pSyntax
The documentation for this class was generated from the following files: