summaryrefslogtreecommitdiffstats
path: root/src/vhdlcode.h
blob: b79e2abd7b0fa9d33e5f46b98a4af85f70dfdc8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#ifndef VHDLCODE_H
#define VHDLCODE_H

#include "parserintf.h"

class CodeOutputInterface;
class FileDef;
class MemberDef;

void codeFreeVhdlScanner();

class VHDLCodeParser : public CodeParserInterface
{
  public:
    virtual ~VHDLCodeParser() {}
    void parseCode(CodeOutputInterface &codeOutIntf,
                   const char *scopeName,
                   const QCString &input,
                   SrcLangExt lang,
                   bool isExampleBlock,
                   const char *exampleName=0,
                   FileDef *fileDef=0,
                   int startLine=-1,
                   int endLine=-1,
                   bool inlineFragment=FALSE,
                   const MemberDef *memberDef=0,
                   bool showLineNumbers=TRUE,
                   const Definition *searchCtx=0,
                   bool collectXRefs=TRUE
                  );
    void resetCodeParserState() {}
};


#endif