1 /******************************************************************************
5 * Copyright (C) 1997-2012 by Dimitri van Heesch.
6 * Copyright (C) 2010-2011 by Rene Zaumseil
8 * Permission to use, copy, modify, and distribute this software and its
9 * documentation under the terms of the GNU General Public License is hereby
10 * granted. No representations are made about the suitability of this software
11 * for any purpose. It is provided "as is" without express or implied warranty.
12 * See the GNU General Public License for more details.
14 * Documents produced by Doxygen are derivative works derived from the
15 * input used in their production; they are not affected by this license.
22 #include "parserintf.h"
24 /** \brief Tcl language parser using state-based lexical scanning.
26 * This is the Tcl language parser for doxygen.
28 class TclLanguageScanner : public ParserInterface
31 virtual ~TclLanguageScanner() {}
32 void parseInput(const char *fileName,
35 bool needsPreprocessing(const QCString &extension);
36 void parseCode(CodeOutputInterface &codeOutIntf,
37 const char *scopeName,
38 const QCString &input,
40 const char *exampleName=0,
44 bool inlineFragment=FALSE,
45 MemberDef *memberDef=0,
46 bool showLineNumbers=TRUE,
47 Definition *searchCtx=0
49 void resetCodeParserState();
50 void parsePrototype(const char *text);