Doxygen
Loading...
Searching...
No Matches
sqlcode.l
Go to the documentation of this file.
1/******************************************************************************
2 *
3 * Copyright (C) 1997-2020 by Dimitri van Heesch.
4 *
5 * Permission to use, copy, modify, and distribute this software and its
6 * documentation under the terms of the GNU General Public License is hereby
7 * granted. No representations are made about the suitability of this software
8 * for any purpose. It is provided "as is" without express or implied warranty.
9 * See the GNU General Public License for more details.
10 *
11 * Documents produced by Doxygen are derivative works derived from the
12 * input used in their production; they are not affected by this license.
13 *
14 */
15
16%option never-interactive
17%option prefix="sqlcodeYY"
18%option noyywrap
19%option nounput
20%option reentrant
21%option extra-type="struct sqlcodeYY_state *"
22%top{
23#include <stdint.h>
24// forward declare yyscan_t to improve type safety
25#define YY_TYPEDEF_YY_SCANNER_T
26struct yyguts_t;
27typedef yyguts_t *yyscan_t;
yyguts_t * yyscan_t
Definition code.l:24
28}
29
30%{
31
32#include <stdio.h>
33
34#include "sqlcode.h"
35
36#include "entry.h"
37#include "doxygen.h"
38#include "outputlist.h"
39#include "util.h"
40#include "membername.h"
41#include "searchindex.h"
42#include "config.h"
43#include "filedef.h"
44#include "tooltip.h"
45#include "message.h"
46#include "debug.h"
47
48#define YY_NEVER_INTERACTIVE 1
49#define YY_NO_INPUT 1
50#define YY_NO_UNISTD_H 1
51
53{
54 OutputCodeList * code = nullptr;
55 const char *inputString = nullptr; //!< the code fragment as text
56 int inputPosition = 0; //!< read offset during parsing
58 int inputLines = 0; //!< number of line in the code fragment
59 int yyLineNr = 1; //!< current line number
60 bool insideCodeLine = false;
61 const Definition *searchCtx = nullptr;
62
63 bool stripCodeComments = true;
64 bool exampleBlock = false;
67
68 std::unique_ptr<FileDef> exampleFileDef;
69 const FileDef *sourceFileDef = nullptr;
71 const Definition *currentDefinition = nullptr;
72 const MemberDef *currentMemberDef = nullptr;
73 bool includeCodeFragment = false;
74 const char *currentFontClass = nullptr;
75};
76
77[[maybe_unused]] static const char *stateToString(int state);
78
79static void setCurrentDoc(yyscan_t yyscanner,const QCString &anchor);
80static void startCodeLine(yyscan_t yyscanner);
81static void endFontClass(yyscan_t yyscanner);
82static void endCodeLine(yyscan_t yyscanner);
83static void nextCodeLine(yyscan_t yyscanner);
84static void codifyLines(yyscan_t yyscanner,const char *text);
85static void startFontClass(yyscan_t yyscanner,const char *s);
86static int countLines(yyscan_t yyscanner);
87static int yyread(yyscan_t yyscanner,char *buf,int max_size);
88
89#undef YY_INPUT
90#define YY_INPUT(buf,result,max_size) result=yyread(yyscanner,buf,max_size);
91
92// otherwise the filename would be the name of the converted file (*.cpp instead of *.l)
93static inline const char *getLexerFILE() {return __FILE__;}
94#include "doxygen_lex.h"
95
The common base class of all entity definitions found in the sources.
Definition definition.h:77
A model of a file symbol.
Definition filedef.h:99
A model of a class/file/namespace member symbol.
Definition memberdef.h:48
Class representing a list of different code generators.
Definition outputlist.h:165
This is an alternative implementation of QCString.
Definition qcstring.h:101
#define FALSE
Definition qcstring.h:34
Web server based search engine.
static void endCodeLine(yyscan_t yyscanner)
Definition sqlcode.l:288
static void nextCodeLine(yyscan_t yyscanner)
Definition sqlcode.l:296
static void startCodeLine(yyscan_t yyscanner)
Definition sqlcode.l:231
static int yyread(yyscan_t yyscanner, char *buf, int max_size)
Definition sqlcode.l:364
static int countLines(yyscan_t yyscanner)
Definition sqlcode.l:345
static const char * stateToString(int state)
static void startFontClass(yyscan_t yyscanner, const char *s)
Definition sqlcode.l:336
static void codifyLines(yyscan_t yyscanner, const char *text)
Definition sqlcode.l:311
static const char * getLexerFILE()
Definition sqlcode.l:93
static void setCurrentDoc(yyscan_t yyscanner, const QCString &anchor)
Definition sqlcode.l:211
static void endFontClass(yyscan_t yyscanner)
Definition sqlcode.l:278
const char * currentFontClass
Definition sqlcode.l:74
const Definition * searchCtx
Definition sqlcode.l:61
bool includeCodeFragment
Definition sqlcode.l:73
bool exampleBlock
Definition sqlcode.l:64
const char * inputString
the code fragment as text
Definition sqlcode.l:55
QCString fileName
Definition sqlcode.l:57
const MemberDef * currentMemberDef
Definition sqlcode.l:72
bool lineNumbers
Definition sqlcode.l:70
bool insideCodeLine
Definition sqlcode.l:60
QCString classScope
Definition sqlcode.l:66
int yyLineNr
current line number
Definition sqlcode.l:59
QCString exampleName
Definition sqlcode.l:65
OutputCodeList * code
Definition sqlcode.l:54
int inputLines
number of line in the code fragment
Definition sqlcode.l:58
const FileDef * sourceFileDef
Definition sqlcode.l:69
std::unique_ptr< FileDef > exampleFileDef
Definition sqlcode.l:68
int inputPosition
read offset during parsing
Definition sqlcode.l:56
bool stripCodeComments
Definition sqlcode.l:63
const Definition * currentDefinition
Definition sqlcode.l:71
A bunch of utility functions.
96%}
97
98nl (\r\n|\r|\n)
99idchar [A-Za-z0-9\-_]+
100keywords1 ("ADD"|"ALL"|"ALLOCATE"|"ALTER"|"AND"|"ANY"|"ARE"|"AS"|"ASENSITIVE"|"ASYMMETRIC"|"AT"|"ATOMIC"|"AUTHORIZATION"|"BETWEEN"|"BOTH"|"BY"|"CALL"|"CALLED"|"CASCADED"|"CAST")
101keywords2 ("CHECK"|"CLOSE"|"COLLATE"|"COLUMN"|"COMMIT"|"CONNECT"|"CONSTRAINT"|"CONTINUE"|"CORRESPONDING"|"CREATE"|"CROSS"|"CUBE"|"CURRENT"|"CURRENT_DATE"|"CURRENT_DEFAULT_TRANSFORM_GROUP")
102keywords3 ("CURRENT_PATH"|"CURRENT_ROLE"|"CURRENT_TIME"|"CURRENT_TIMESTAMP"|"CURRENT_TRANSFORM_GROUP_FOR_TYPE"|"CURRENT_USER")
103keywords4 ("CURSOR"|"CYCLE"|"DAY"|"DEALLOCATE"|"DECLARE"|"DEFAULT"|"DELETE"|"DEREF"|"DESCRIBE"|"DETERMINISTIC"|"DISCONNECT"|"DISTINCT"|"DROP"|"DYNAMIC")
104keywords5 ("EACH"|"ELEMENT"|"END-EXEC"|"ESCAPE"|"EXCEPT"|"EXEC"|"EXECUTE"|"EXISTS"|"EXTERNAL"|"FETCH"|"FILTER"|"FOR"|"FOREIGN"|"FREE"|"FROM"|"FULL"|"FUNCTION")
105keywords6 ("GET"|"GLOBAL"|"GRANT"|"GROUP"|"GROUPING"|"HAVING"|"HOLD"|"HOUR"|"IDENTITY"|"IMMEDIATE"|"IN"|"INDICATOR"|"INNER"|"INOUT"|"INPUT"|"INSENSITIVE"|"INSERT"|"INTERSECT")
106keywords7 ("INTERVAL"|"INTO"|"IS"|"ISOLATION"|"JOIN"|"LANGUAGE"|"LARGE"|"LATERAL"|"LEADING"|"LEFT"|"LIKE"|"LOCAL"|"LOCALTIME"|"LOCALTIMESTAMP"|"MATCH"|"MEMBER"|"MERGE"|"METHOD"|"MINUTE")
107keywords8 ("MODIFIES"|"MODULE"|"MONTH"|"MULTISET"|"NATIONAL"|"NATURAL"|"NEW"|"NO"|"NONE"|"NOT"|"OF"|"OLD"|"ON"|"ONLY"|"OPEN"|"OR"|"ORDER"|"OUT"|"OUTER"|"OUTPUT")
108keywords9 ("OVER"|"OVERLAPS"|"PARAMETER"|"PARTITION"|"PRECISION"|"PREPARE"|"PRIMARY"|"PROCEDURE"|"RANGE"|"READS"|"RECURSIVE"|"REF"|"REFERENCES"|"REFERENCING"|"REGR_AVGX"|"REGR_AVGY")
109keywords10 ("REGR_COUNT"|"REGR_INTERCEPT"|"REGR_R2"|"REGR_SLOPE"|"REGR_SXX"|"REGR_SXY"|"REGR_SYY"|"RELEASE"|"RESULT"|"RETURN"|"RETURNS"|"REVOKE"|"RIGHT"|"ROLLBACK"|"ROLLUP"|"ROW"|"ROWS"|"SAVEPOINT")
110keywords11 ("SCROLL"|"SEARCH"|"SECOND"|"SELECT"|"SENSITIVE"|"SESSION_USER"|"SET"|"SIMILAR"|"SOME"|"SPECIFIC"|"SPECIFICTYPE"|"SQL"|"SQLEXCEPTION"|"SQLSTATE"|"SQLWARNING"|"START"|"STATIC")
111keywords12 ("SUBMULTISET"|"SYMMETRIC"|"SYSTEM"|"SYSTEM_USER"|"TABLE"|"THEN"|"TIMEZONE_HOUR"|"TIMEZONE_MINUTE"|"TO"|"TRAILING"|"TRANSLATION"|"TREAT"|"TRIGGER"|"UESCAPE"|"UNION")
112keywords13 ("UNIQUE"|"UNNEST"|"UPDATE"|"UPPER"|"USER"|"USING"|"VALUE"|"VALUES"|"VAR_POP"|"VAR_SAMP"|"VARYING"|"WHEN"|"WHENEVER"|"WHERE"|"WIDTH_BUCKET"|"WINDOW"|"WITH"|"WITHIN"|"WITHOUT"|"YEAR")
113
114/* Need multiple keyword definitions due to max length */
115keyword (?i:{keywords1}|{keywords2}|{keywords3}|{keywords4}|{keywords5}|{keywords6}|{keywords7}|{keywords8}|{keywords9}|{keywords10}|{keywords11}|{keywords12}|{keywords13})
116
117typekeyword (?i:"ARRAY"|"BIGINT"|"BINARY"|"BLOB"|"BOOLEAN"|"CHAR"|"CHARACTER"|"CLOB"|"DATE"|"DEC"|"DECIMAL"|"DOUBLE"|"FLOAT"|"INT"|"INTEGER"|"NCHAR"|"NCLOB"|"NUMERIC"|"NVARCHAR"|"REAL"|"SMALLINT"|"TIME"|"TIMESTAMP"|"VARCHAR")
118
119flowkeyword (?i:"CASE"|"IF"|"ELSE"|"BEGIN"|"END"|"WHILE")
120
121literalkeyword (?i:"false"|"true"|"NULL"|"UNKNOWN")
122stringliteral (\"[^\"]*\")|('[^']*')
123number [0-9]+
124literals ({literalkeyword}|{stringliteral}|{number})
125
126variable @{idchar}+
127
128simplecomment --.*
129commentopen "/\*"
130commentclose "\*\/"
131
132%x COMMENT
133
135
136{literals} {
137 startFontClass(yyscanner,"stringliteral");
138 codifyLines(yyscanner,yytext);
139 endFontClass(yyscanner);
140 }
static void codifyLines(yyscan_t yyscanner, const QCString &text)
Definition code.l:2516
static void startFontClass(yyscan_t yyscanner, const char *s, bool specialComment=false)
Definition code.l:3506
static void endFontClass(yyscan_t yyscanner, bool specialComment=false)
Definition code.l:3491
141
142
143{keyword} {
144 startFontClass(yyscanner,"keyword");
145 codifyLines(yyscanner,yytext);
146 endFontClass(yyscanner);
147 }
148
149{flowkeyword} {
150 startFontClass(yyscanner,"keywordflow");
151 codifyLines(yyscanner,yytext);
152 endFontClass(yyscanner);
153 }
154
155{typekeyword} {
156 startFontClass(yyscanner,"keywordtype");
157 codifyLines(yyscanner,yytext);
158 endFontClass(yyscanner);
159 }
160
161{variable} {
162 startFontClass(yyscanner,"preprocessor");
163 codifyLines(yyscanner,yytext);
164 endFontClass(yyscanner);
165 }
166
167{simplecomment} {
168 startFontClass(yyscanner,"comment");
169 codifyLines(yyscanner,yytext);
170 endFontClass(yyscanner);
171 }
172
173{commentopen} {
174 startFontClass(yyscanner,"comment");
175 codifyLines(yyscanner,yytext);
176 BEGIN(COMMENT);
177 }
178
179<COMMENT>. {
180 codifyLines(yyscanner,yytext);
181
182 }
183<COMMENT>{nl} {
184 codifyLines(yyscanner,yytext);
185 }
186
187<COMMENT>{commentclose} {
188 codifyLines(yyscanner,yytext);
189 endFontClass(yyscanner);
190 BEGIN(INITIAL);
191 }
192
193{idchar} {
194 codifyLines(yyscanner,yytext);
195 }
196
197{nl} {
198 codifyLines(yyscanner,yytext);
199 }
200
201[\x80-\xFF]* { // keep utf8 characters together...
202 codifyLines(yyscanner,yytext);
203 }
204. {
205 codifyLines(yyscanner,yytext);
206 }
207
208%%
209
210
211static void setCurrentDoc(yyscan_t yyscanner,const QCString &anchor)
212{
213 struct yyguts_t *yyg = (struct yyguts_t*)yyscanner;
214 if (Doxygen::searchIndex.enabled())
215 {
216 if (yyextra->searchCtx)
217 {
218 Doxygen::searchIndex.setCurrentDoc(yyextra->searchCtx,yyextra->searchCtx->anchor(),false);
219 }
220 else
221 {
222 Doxygen::searchIndex.setCurrentDoc(yyextra->sourceFileDef,anchor,true);
223 }
224 }
225}
226
227/*! start a new line of code, inserting a line number if yyextra->sourceFileDef
228 * is true. If a definition starts at the current line, then the line
229 * number is linked to the documentation of that definition.
230 */
231static void startCodeLine(yyscan_t yyscanner)
232{
233 struct yyguts_t *yyg = (struct yyguts_t*)yyscanner;
234 if (yyextra->sourceFileDef && yyextra->lineNumbers)
235 {
236 const Definition *d = yyextra->sourceFileDef->getSourceDefinition(yyextra->yyLineNr);
237
238 if (!yyextra->includeCodeFragment && d && d->isLinkableInProject())
239 {
240 yyextra->currentDefinition = d;
241 yyextra->currentMemberDef = yyextra->sourceFileDef->getSourceMember(yyextra->yyLineNr);
242 yyextra->classScope = d->name();
243 QCString lineAnchor;
244 lineAnchor.sprintf("l%05d",yyextra->yyLineNr);
245 if (yyextra->currentMemberDef)
246 {
247 yyextra->code->writeLineNumber(yyextra->currentMemberDef->getReference(),
248 yyextra->currentMemberDef->getOutputFileBase(),
249 yyextra->currentMemberDef->anchor(),yyextra->yyLineNr,
250 !yyextra->includeCodeFragment);
251 setCurrentDoc(yyscanner,lineAnchor);
252 }
253 else
254 {
255 yyextra->code->writeLineNumber(d->getReference(),
257 QCString(),yyextra->yyLineNr,
258 !yyextra->includeCodeFragment);
259 setCurrentDoc(yyscanner,lineAnchor);
260 }
261 }
262 else
263 {
264 yyextra->code->writeLineNumber(QCString(),QCString(),QCString(),yyextra->yyLineNr,
265 !yyextra->includeCodeFragment);
266 }
267 }
268
269 yyextra->code->startCodeLine(yyextra->yyLineNr);
270 yyextra->insideCodeLine=true;
271
272 if (yyextra->currentFontClass)
273 {
274 yyextra->code->startFontClass(yyextra->currentFontClass);
275 }
276}
277
278static void endFontClass(yyscan_t yyscanner)
279{
280 struct yyguts_t *yyg = (struct yyguts_t*)yyscanner;
281 if (yyextra->currentFontClass)
282 {
283 yyextra->code->endFontClass();
284 yyextra->currentFontClass=0;
285 }
286}
287
288static void endCodeLine(yyscan_t yyscanner)
289{
290 struct yyguts_t *yyg = (struct yyguts_t*)yyscanner;
291 endFontClass(yyscanner);
292 yyextra->code->endCodeLine();
293 yyextra->insideCodeLine=false;
294}
295
296static void nextCodeLine(yyscan_t yyscanner)
297{
298 struct yyguts_t *yyg = (struct yyguts_t*)yyscanner;
299 const char *fc = yyextra->currentFontClass;
300 if (yyextra->insideCodeLine)
301 {
302 endCodeLine(yyscanner);
303 }
304 if (yyextra->yyLineNr<yyextra->inputLines)
305 {
306 yyextra->currentFontClass = fc;
307 startCodeLine(yyscanner);
308 }
309}
310
311static void codifyLines(yyscan_t yyscanner,const char *text)
312{
313 struct yyguts_t *yyg = (struct yyguts_t*)yyscanner;
314 const char *p=text,*sp=p;
315 char c;
316 bool done=false;
317 while (!done)
318 {
319 sp=p;
320 while ((c=*p++) && c!='\n') { }
321 if (c=='\n')
322 {
323 yyextra->yyLineNr++;
324 size_t l = static_cast<size_t>(p-sp-1);
325 yyextra->code->codify(QCString(sp,l));
326 nextCodeLine(yyscanner);
327 }
328 else
329 {
330 yyextra->code->codify(sp);
331 done=true;
332 }
333 }
334}
335
336static void startFontClass(yyscan_t yyscanner,const char *s)
337{
338 struct yyguts_t *yyg = (struct yyguts_t*)yyscanner;
339 endFontClass(yyscanner);
340 yyextra->code->startFontClass(s);
341 yyextra->currentFontClass=s;
342}
343
344/*! counts the number of lines in the input */
345static int countLines(yyscan_t yyscanner)
346{
347 struct yyguts_t *yyg = (struct yyguts_t*)yyscanner;
348 const char *p=yyextra->inputString;
349 char c;
350 int count=1;
351 while ((c=*p))
352 {
353 p++ ;
354 if (c=='\n') count++;
355 }
356 if (p>yyextra->inputString && *(p-1)!='\n')
357 { // last line does not end with a \n, so we add an extra
358 // line and explicitly terminate the line after parsing.
359 count++;
360 }
361 return count;
362}
363
364static int yyread(yyscan_t yyscanner,char *buf,int max_size)
365{
366 struct yyguts_t *yyg = (struct yyguts_t*)yyscanner;
367 int inputPosition = yyextra->inputPosition;
368 const char *s = yyextra->inputString + inputPosition;
369 int c=0;
370 while( c < max_size && *s )
371 {
372 *buf++ = *s++;
373 c++;
374 }
375 yyextra->inputPosition += c;
376 return c;
377}
378
379
380// public interface -----------------------------------------------------------
381
387
388SQLCodeParser::SQLCodeParser() : p(std::make_unique<Private>())
389{
390 sqlcodeYYlex_init_extra(&p->state, &p->yyscanner);
391#ifdef FLEX_DEBUG
392 sqlcodeYYset_debug(Debug::isFlagSet(Debug::Lex_sqlcode)?1:0,p->yyscanner);
393#endif
395}
396
398{
399 sqlcodeYYlex_destroy(p->yyscanner);
400}
401
403{
404 struct yyguts_t *yyg = (struct yyguts_t*)p->yyscanner;
405 yyextra->currentDefinition = nullptr;
406 yyextra->currentMemberDef = nullptr;
407}
408
410 const QCString &/* scopeName */,
411 const QCString &input,
413 bool stripCodeComments,
414 const CodeParserOptions &options
415 )
416{
417 yyscan_t yyscanner = p->yyscanner;
418 struct yyguts_t *yyg = (struct yyguts_t*)yyscanner;
419
420 if (input.isEmpty()) return;
421
422 DebugLex debugLex(Debug::Lex_sqlcode, __FILE__, options.fileDef() ? qPrint(options.fileDef()->fileName()): nullptr);
423 yyextra->fileName = options.fileDef() ? options.fileDef()->fileName():"";
424 yyextra->code = &codeOutIntf;
425 yyextra->inputString = input.data();
426 yyextra->inputPosition = 0;
427 yyextra->currentFontClass = nullptr;
428 yyextra->insideCodeLine = false;
429 yyextra->searchCtx = options.searchCtx();
430 yyextra->yyLineNr = options.startLine()!=-1 ? options.startLine() : 1;
431 yyextra->inputLines = options.endLine()!=-1 ? options.endLine()+1 : yyextra->yyLineNr + countLines(yyscanner) - 1;
432 yyextra->stripCodeComments = stripCodeComments;
433 yyextra->exampleBlock = options.isExample();
434 yyextra->exampleName = options.exampleName();
435 yyextra->sourceFileDef = options.fileDef();
436 yyextra->lineNumbers = options.fileDef() && options.showLineNumbers();
437
438 if (options.isExample() && options.fileDef()==0)
439 {
440 // create a dummy filedef for the example
441 yyextra->exampleFileDef = createFileDef(QCString(),!options.exampleName().isEmpty() ? options.exampleName() : QCString("generated"));
442 yyextra->sourceFileDef = yyextra->exampleFileDef.get();
443 }
444
445 if (yyextra->sourceFileDef)
446 {
447 setCurrentDoc(yyscanner,"l00001");
448 }
449
450 yyextra->includeCodeFragment = options.inlineFragment();
451 // Starts line 1 on the output
452 startCodeLine(yyscanner);
453
454 sqlcodeYYrestart( nullptr, yyscanner );
455
456 sqlcodeYYlex(yyscanner);
457
458 if (yyextra->insideCodeLine)
459 {
460 endCodeLine(yyscanner);
461 }
462 if (yyextra->exampleFileDef)
463 {
464 // delete the temporary file definition used for this example
465 yyextra->exampleFileDef.reset();
466 yyextra->sourceFileDef=nullptr;
467 }
468}
469
470//---------------------------------------------------------------------------------
471
472#include "sqlcode.l.h"
@ Lex_sqlcode
Definition debug.h:69
static bool isFlagSet(const DebugMask mask)
Definition debug.cpp:133
virtual bool isLinkableInProject() const =0
virtual QCString getReference() const =0
virtual QCString getOutputFileBase() const =0
virtual const QCString & name() const =0
static SearchIndexIntf searchIndex
Definition doxygen.h:124
virtual QCString fileName() const =0
bool isEmpty() const
Returns TRUE iff the string is empty.
Definition qcstring.h:163
QCString & sprintf(const char *format,...)
Definition qcstring.cpp:29
const char * data() const
Returns a pointer to the contents of the string in the form of a 0-terminated C string.
Definition qcstring.h:172
std::unique_ptr< Private > p
Definition sqlcode.h:46
void resetCodeParserState() override
Resets the state of the code parser.
Definition sqlcode.l:402
void parseCode(OutputCodeList &codeOutIntf, const QCString &scopeName, const QCString &input, SrcLangExt, bool stripCodeComments, const CodeParserOptions &options) override
Parses a source file or fragment with the goal to produce highlighted and cross-referenced output.
Definition sqlcode.l:409
~SQLCodeParser() override
Definition sqlcode.l:397
static void endCodeLine(yyscan_t yyscanner)
Definition code.l:2489
static void nextCodeLine(yyscan_t yyscanner)
Definition code.l:2498
static void startCodeLine(yyscan_t yyscanner)
Definition code.l:2420
static int yyread(yyscan_t yyscanner, char *buf, int max_size)
Definition code.l:3982
static int countLines(yyscan_t yyscanner)
Definition code.l:3473
static void setCurrentDoc(yyscan_t yyscanner, const QCString &anchor)
Definition code.l:2288
std::unique_ptr< FileDef > createFileDef(const QCString &p, const QCString &n, const QCString &ref, const QCString &dn)
Definition filedef.cpp:268
const char * qPrint(const char *s)
Definition qcstring.h:687
Options to configure the code parser.
Definition parserintf.h:78
bool isExample() const
Definition parserintf.h:81
const Definition * searchCtx() const
Definition parserintf.h:89
const FileDef * fileDef() const
Definition parserintf.h:83
int endLine() const
Definition parserintf.h:85
bool showLineNumbers() const
Definition parserintf.h:88
bool inlineFragment() const
Definition parserintf.h:86
QCString exampleName() const
Definition parserintf.h:82
int startLine() const
Definition parserintf.h:84
sqlcodeYY_state state
Definition sqlcode.l:385
SrcLangExt
Definition types.h:207