Blame src/tclscanner.h

Packit Service 50c9f2
/******************************************************************************
Packit Service 50c9f2
 *
Packit Service 50c9f2
 * 
Packit Service 50c9f2
 *
Packit Service 50c9f2
 * Copyright (C) 1997-2015 by Dimitri van Heesch.
Packit Service 50c9f2
 * Copyright (C) 2010-2011 by Rene Zaumseil
Packit Service 50c9f2
 *
Packit Service 50c9f2
 * Permission to use, copy, modify, and distribute this software and its
Packit Service 50c9f2
 * documentation under the terms of the GNU General Public License is hereby 
Packit Service 50c9f2
 * granted. No representations are made about the suitability of this software 
Packit Service 50c9f2
 * for any purpose. It is provided "as is" without express or implied warranty.
Packit Service 50c9f2
 * See the GNU General Public License for more details.
Packit Service 50c9f2
 *
Packit Service 50c9f2
 * Documents produced by Doxygen are derivative works derived from the
Packit Service 50c9f2
 * input used in their production; they are not affected by this license.
Packit Service 50c9f2
 *
Packit Service 50c9f2
 */
Packit Service 50c9f2
Packit Service 50c9f2
#ifndef SCANNER_TCL_H
Packit Service 50c9f2
#define SCANNER_TCL_H
Packit Service 50c9f2
Packit Service 50c9f2
#include "parserintf.h"
Packit Service 50c9f2
Packit Service 50c9f2
/** \brief Tcl language parser using state-based lexical scanning.
Packit Service 50c9f2
 *
Packit Service 50c9f2
 *  This is the Tcl language parser for doxygen.
Packit Service 50c9f2
 */
Packit Service 50c9f2
class TclLanguageScanner : public ParserInterface
Packit Service 50c9f2
{
Packit Service 50c9f2
  public:
Packit Service 50c9f2
    virtual ~TclLanguageScanner() {}
Packit Service 50c9f2
    void startTranslationUnit(const char *) {}
Packit Service 50c9f2
    void finishTranslationUnit() {}
Packit Service 50c9f2
    void parseInput(const char *fileName,
Packit Service 50c9f2
                    const char *fileBuf,
Packit Service 50c9f2
                    Entry *root,
Packit Service 50c9f2
                    bool sameTranslationUnit,
Packit Service 50c9f2
                    QStrList &filesInSameTranslationUnit);
Packit Service 50c9f2
    bool needsPreprocessing(const QCString &extension);
Packit Service 50c9f2
    void parseCode(CodeOutputInterface &codeOutIntf,
Packit Service 50c9f2
                   const char *scopeName,
Packit Service 50c9f2
                   const QCString &input,
Packit Service 50c9f2
                   SrcLangExt lang,
Packit Service 50c9f2
                   bool isExampleBlock,
Packit Service 50c9f2
                   const char *exampleName=0,
Packit Service 50c9f2
                   FileDef *fileDef=0,
Packit Service 50c9f2
                   int startLine=-1,
Packit Service 50c9f2
                   int endLine=-1,
Packit Service 50c9f2
                   bool inlineFragment=FALSE,
Packit Service 50c9f2
                   MemberDef *memberDef=0,
Packit Service 50c9f2
                   bool showLineNumbers=TRUE,
Packit Service 50c9f2
                   Definition *searchCtx=0,
Packit Service 50c9f2
                   bool collectXRefs=TRUE
Packit Service 50c9f2
                  );
Packit Service 50c9f2
    void resetCodeParserState();
Packit Service 50c9f2
    void parsePrototype(const char *text);
Packit Service 50c9f2
};
Packit Service 50c9f2
Packit Service 50c9f2
#endif