|
Packit |
1c1d7e |
/******************************************************************************
|
|
Packit |
1c1d7e |
*
|
|
Packit |
1c1d7e |
*
|
|
Packit |
1c1d7e |
*
|
|
Packit |
1c1d7e |
* Copyright (C) 1997-2015 by Dimitri van Heesch.
|
|
Packit |
1c1d7e |
*
|
|
Packit |
1c1d7e |
* Permission to use, copy, modify, and distribute this software and its
|
|
Packit |
1c1d7e |
* documentation under the terms of the GNU General Public License is hereby
|
|
Packit |
1c1d7e |
* granted. No representations are made about the suitability of this software
|
|
Packit |
1c1d7e |
* for any purpose. It is provided "as is" without express or implied warranty.
|
|
Packit |
1c1d7e |
* See the GNU General Public License for more details.
|
|
Packit |
1c1d7e |
*
|
|
Packit |
1c1d7e |
* Documents produced by Doxygen are derivative works derived from the
|
|
Packit |
1c1d7e |
* input used in their production; they are not affected by this license.
|
|
Packit |
1c1d7e |
*
|
|
Packit |
1c1d7e |
*/
|
|
Packit |
1c1d7e |
/* This code is based on the work done by the MoxyPyDoxy team
|
|
Packit |
1c1d7e |
* (Linda Leong, Mike Rivera, Kim Truong, and Gabriel Estrada)
|
|
Packit |
1c1d7e |
* in Spring 2005 as part of CS 179E: Compiler Design Project
|
|
Packit |
1c1d7e |
* at the University of California, Riverside; the course was
|
|
Packit |
1c1d7e |
* taught by Peter H. Froehlich <phf@acm.org>.
|
|
Packit |
1c1d7e |
*/
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
#ifndef PYCODE_H
|
|
Packit |
1c1d7e |
#define PYCODE_H
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
#include "types.h"
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
class CodeOutputInterface;
|
|
Packit |
1c1d7e |
class FileDef;
|
|
Packit |
1c1d7e |
class MemberDef;
|
|
Packit |
1c1d7e |
class QCString;
|
|
Packit |
1c1d7e |
class Definition;
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
extern void parsePythonCode(CodeOutputInterface &,const char *,const QCString &,
|
|
Packit |
1c1d7e |
bool ,const char *,FileDef *fd,
|
|
Packit |
1c1d7e |
int startLine,int endLine,bool inlineFragment,
|
|
Packit |
1c1d7e |
MemberDef *memberDef,bool showLineNumbers,Definition *searchCtx,
|
|
Packit |
1c1d7e |
bool collectXRefs);
|
|
Packit |
1c1d7e |
extern void resetPythonCodeParserState();
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
#endif
|