KDevelop API Documentation

PHPParser Class Reference

#include <phpparser.h>

List of all members.

Public Member Functions

 PHPParser (KDevCore *core, CodeModel *model)
 ~PHPParser ()
void parseFile (const QString &fileName)
void parseLines (QStringList *lines, const QString &fileName)

Private Attributes

CodeModelm_model
KDevCorem_core
FileDom m_file


Detailed Description

Author:
Sandy Meier

Definition at line 26 of file phpparser.h.


Constructor & Destructor Documentation

PHPParser::PHPParser KDevCore core,
CodeModel model
 

Definition at line 27 of file phpparser.cpp.

References m_core, m_model, and PHPParser().

Referenced by PHPParser().

PHPParser::~PHPParser  ) 
 

Definition at line 31 of file phpparser.cpp.


Member Function Documentation

void PHPParser::parseFile const QString fileName  ) 
 

Definition at line 119 of file phpparser.cpp.

References CodeModel::addFile(), CodeModel::create(), endl(), kdDebug(), m_file, m_model, parseFile(), and parseLines().

Referenced by PHPSupportPart::maybeParse(), and parseFile().

void PHPParser::parseLines QStringList lines,
const QString fileName
 

Definition at line 33 of file phpparser.cpp.

References ArgumentDom, ClassDom, CodeModel::create(), endl(), FunctionDom, kdDebug(), m_file, m_model, parseLines(), and VariableDom.

Referenced by parseFile(), parseLines(), and PHPSupportPart::slotTextChanged().


Member Data Documentation

KDevCore* PHPParser::m_core [private]
 

Definition at line 35 of file phpparser.h.

Referenced by PHPParser().

FileDom PHPParser::m_file [private]
 

Definition at line 36 of file phpparser.h.

Referenced by parseFile(), and parseLines().

CodeModel* PHPParser::m_model [private]
 

Definition at line 34 of file phpparser.h.

Referenced by parseFile(), parseLines(), and PHPParser().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for KDevelop Version 3.0.4.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Oct 19 08:02:05 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003