|
1 /****************************************************************************** |
|
2 * |
|
3 * |
|
4 * |
|
5 * Copyright (C) 1997-2008 by Dimitri van Heesch. |
|
6 * |
|
7 * Permission to use, copy, modify, and distribute this software and its |
|
8 * documentation under the terms of the GNU General Public License is hereby |
|
9 * granted. No representations are made about the suitability of this software |
|
10 * for any purpose. It is provided "as is" without express or implied warranty. |
|
11 * See the GNU General Public License for more details. |
|
12 * |
|
13 * Documents produced by Doxygen are derivative works derived from the |
|
14 * input used in their production; they are not affected by this license. |
|
15 * |
|
16 */ |
|
17 /* This code is based on the work done by the MoxyPyDoxy team |
|
18 * (Linda Leong, Mike Rivera, Kim Truong, and Gabriel Estrada) |
|
19 * in Spring 2005 as part of CS 179E: Compiler Design Project |
|
20 * at the University of California, Riverside; the course was |
|
21 * taught by Peter H. Froehlich <phf@acm.org>. |
|
22 */ |
|
23 |
|
24 |
|
25 #ifndef PYCODE_H |
|
26 #define PYCODE_H |
|
27 |
|
28 #include "qtbc.h" |
|
29 #include <stdio.h> |
|
30 |
|
31 class CodeOutputInterface; |
|
32 class FileDef; |
|
33 class MemberDef; |
|
34 |
|
35 extern void parsePythonCode(CodeOutputInterface &,const char *,const QCString &, |
|
36 bool ,const char *,FileDef *fd=0, |
|
37 int startLine=-1,int endLine=-1,bool inlineFragment=FALSE, |
|
38 MemberDef *memberDef=0); |
|
39 extern void resetPythonCodeParserState(); |
|
40 |
|
41 #endif |