perlparser Class Reference
perl source to classview parser More...
#include <perlparser.h>
Collaboration diagram for perlparser:

Public Member Functions | |
perlparser (KDevCore *core, CodeModel *model, QString interpreter) | |
perlparser () | |
~perlparser () | |
void | initialParse () |
void | parse (const QString &fileName) |
void | parseLines (QStringList *lines, const QString &fileName) |
const QStringList | UseFiles () |
QString | findLib (const QString &lib) |
Private Member Functions | |
void | addPackage (const QString &fileName, int lineNr, const QString &name) |
void | addAttributetoScript (const QString &fileName, int lineNr, const QString &name) |
void | addAttributetoPackage (const QString &fileName, int lineNr, const QString &name) |
void | addClass (const QString &fileName, int lineNr) |
void | addConstructor (const QString &fileName, int lineNr, const QString &methodname) |
void | addGlobalSub (const QString &fileName, int lineNr, const QString &name, bool privatesub) |
void | addScriptSub (const QString &fileName, int lineNr, const QString &name, bool privatesub) |
void | addClassMethod (const QString &fileName, int lineNr, const QString &name, bool privatesub) |
void | addPackageSub (const QString &fileName, int lineNr, const QString &name, bool privatesub) |
void | addParentClass (const QString &parent) |
void | addScript (const QString &fileName, int lineNr, const QString &name) |
void | addUseLib (const QString &lib) |
void | getPerlINC () |
Private Attributes | |
bool | m_inpackage |
bool | m_inscript |
bool | m_inclass |
QString | m_lastsub |
QString | m_lastparentclass |
QString | m_lastattr |
QString | m_lastpackagename |
QString | m_lastscriptname |
NamespaceDom | m_lastscript |
NamespaceDom | m_lastpackage |
ClassDom | m_lastclass |
CodeModel * | m_model |
KDevCore * | m_core |
FileDom | m_file |
QStringList | m_INClist |
QStringList | m_usefiles |
QString | m_interpreter |
Detailed Description
perl source to classview parser
- Author:
- luc
Definition at line 29 of file perlparser.h.
Constructor & Destructor Documentation
|
Definition at line 25 of file perlparser.cpp. References getPerlINC(), m_core, m_interpreter, and m_model. |
|
|
|
Definition at line 34 of file perlparser.cpp. |
Member Function Documentation
|
Definition at line 272 of file perlparser.cpp. References CodeModel::create(), kdDebug(), m_lastattr, m_lastpackage, m_model, and VariableDom. Referenced by parseLines(). |
|
Definition at line 289 of file perlparser.cpp. References CodeModel::create(), kdDebug(), m_lastscript, m_model, and VariableDom. Referenced by parseLines(). |
|
Definition at line 304 of file perlparser.cpp. References ClassDom, CodeModel::create(), kdDebug(), m_inclass, m_lastclass, m_lastpackage, m_lastpackagename, and m_model. Referenced by parseLines(). |
|
Definition at line 388 of file perlparser.cpp. References CodeModel::create(), FunctionDom, kdDebug(), m_lastclass, m_lastsub, and m_model. Referenced by parseLines(). |
|
Definition at line 321 of file perlparser.cpp. References CodeModel::create(), FunctionDom, kdDebug(), m_lastclass, m_lastpackage, and m_model. Referenced by parseLines(). |
|
Definition at line 347 of file perlparser.cpp. References addPackageSub(), CodeModel::create(), FunctionDom, kdDebug(), m_lastpackage, m_lastsub, and m_model. |
|
Definition at line 207 of file perlparser.cpp. References kdDebug(), and NamespaceDom. Referenced by parseLines(). |
|
Definition at line 409 of file perlparser.cpp. References CodeModel::create(), FunctionDom, kdDebug(), m_lastpackage, m_lastsub, and m_model. Referenced by addGlobalSub(), and parseLines(). |
|
Definition at line 427 of file perlparser.cpp. References kdDebug(), and m_lastclass. Referenced by parseLines(). |
|
Definition at line 237 of file perlparser.cpp. References CodeModel::create(), kdDebug(), m_file, m_inclass, m_inpackage, m_inscript, m_lastattr, m_lastclass, m_lastpackage, m_lastscript, m_lastscriptname, m_lastsub, m_model, and NamespaceDom. Referenced by parseLines(). |
|
Definition at line 370 of file perlparser.cpp. References CodeModel::create(), FunctionDom, kdDebug(), m_lastscript, m_lastsub, and m_model. Referenced by parseLines(). |
|
Definition at line 437 of file perlparser.cpp. References CodeModel::hasFile(), kdDebug(), m_model, and m_usefiles. Referenced by parseLines(). |
|
Definition at line 476 of file perlparser.cpp. References file, and m_INClist. Referenced by PerlSupportPart::parseUseFiles(). |
|
Definition at line 448 of file perlparser.cpp. References kdDebug(), and m_INClist. Referenced by perlparser(). |
|
Definition at line 42 of file perlparser.cpp. References m_usefiles. Referenced by PerlSupportPart::initialParse(). |
|
Definition at line 46 of file perlparser.cpp. References CodeModel::addFile(), CodeModel::create(), kdDebug(), m_file, m_model, and parseLines(). Referenced by PerlSupportPart::maybeParse(). |
|
Definition at line 66 of file perlparser.cpp. References addAttributetoPackage(), addAttributetoScript(), addClass(), addClassMethod(), addConstructor(), addPackage(), addPackageSub(), addParentClass(), addScript(), addScriptSub(), addUseLib(), kdDebug(), m_inclass, m_INClist, m_inpackage, m_inscript, m_lastattr, m_lastclass, m_lastpackage, m_lastscript, and m_lastsub. Referenced by parse(). |
|
Definition at line 37 of file perlparser.cpp. Referenced by PerlSupportPart::parseUseFiles(). |
Member Data Documentation
|
Definition at line 73 of file perlparser.h. Referenced by perlparser(). |
|
Definition at line 74 of file perlparser.h. Referenced by addScript(), and parse(). |
|
Definition at line 59 of file perlparser.h. Referenced by addClass(), addScript(), and parseLines(). |
|
Definition at line 77 of file perlparser.h. Referenced by findLib(), getPerlINC(), and parseLines(). |
|
Definition at line 57 of file perlparser.h. Referenced by addScript(), and parseLines(). |
|
Definition at line 58 of file perlparser.h. Referenced by addScript(), and parseLines(). |
|
Definition at line 82 of file perlparser.h. Referenced by perlparser(). |
|
Definition at line 63 of file perlparser.h. Referenced by addAttributetoPackage(), addScript(), and parseLines(). |
|
Definition at line 69 of file perlparser.h. Referenced by addClass(), addClassMethod(), addConstructor(), addParentClass(), addScript(), and parseLines(). |
|
Definition at line 68 of file perlparser.h. Referenced by addAttributetoPackage(), addClass(), addConstructor(), addGlobalSub(), addPackageSub(), addScript(), and parseLines(). |
|
Definition at line 64 of file perlparser.h. Referenced by addClass(). |
|
Definition at line 62 of file perlparser.h. |
|
Definition at line 67 of file perlparser.h. Referenced by addAttributetoScript(), addScript(), addScriptSub(), and parseLines(). |
|
Definition at line 65 of file perlparser.h. Referenced by addScript(). |
|
Definition at line 61 of file perlparser.h. Referenced by addClassMethod(), addGlobalSub(), addPackageSub(), addScript(), addScriptSub(), and parseLines(). |
|
Definition at line 72 of file perlparser.h. Referenced by addAttributetoPackage(), addAttributetoScript(), addClass(), addClassMethod(), addConstructor(), addGlobalSub(), addPackageSub(), addScript(), addScriptSub(), addUseLib(), parse(), and perlparser(). |
|
Definition at line 80 of file perlparser.h. Referenced by addUseLib(), and initialParse(). |
The documentation for this class was generated from the following files:
- languages/perl/perlparser.h
- languages/perl/perlparser.cpp