AdaSupportPart Class Reference
Ada Language Support. More...
#include <adasupportpart.h>
Inheritance diagram for AdaSupportPart:


Public Member Functions | |
AdaSupportPart (QObject *parent, const char *name, const QStringList &) | |
~AdaSupportPart () | |
void | parseContents (const QString &contents, const QString &fileName) |
Protected Member Functions | |
Features | features () |
Returns the feature set of the language. | |
KMimeType::List | mimeTypes () |
Returns a typical mimetype list for the support language should be configurable in the languagesupport dialog. | |
QStringList | fileExtensions () |
Private Slots | |
void | projectOpened () |
void | projectClosed () |
void | addedFilesToProject (const QStringList &fileList) |
void | removedFilesFromProject (const QStringList &fileList) |
void | changedFilesInProject (const QStringList &fileList) |
void | initialParse () |
void | savedFile (const KURL &) |
Private Member Functions | |
void | maybeParse (const QString &fileName) |
void | parse (const QString &fileName) |
void | saveProjectSourceInfo () |
Private Attributes | |
AdaSupportPartData * | d |
Detailed Description
Ada Language Support.The ANTLR Ada core support files are:
- ada.g -- contains AdaLexer and AdaParser, requires AdaAST.hpp and adasupport.cpp
- ada.tree.g -- contains the AdaTreeParserSuper
- AdaAST.hpp -- definition of the AST node used by ada.g
- adasupport.hpp -- general purpose utilities
- adasupport.cpp -- implementation of general purpose utilities and implementation of AdaParser class methods from ada.g
These are ANTLR master files. They only depend on the ANTLR C++ runtime support and on the C++ STL. They should be kept free of all other dependencies. In particular, they do not depend on Kdevelop, KDE, or Qt.
In order to generate the parser by hand, antlr v2.7.2 is required. There are parser compilation errors with some gcc versions. To avoid them, replace file antlr/CppCodeGenerator.java in the antlr source code tree with the one from ftp://fara.cs.uni-potsdam.de/incoming/CppCodeGenerator.java.gz.
- Unmaintained:
- This part is currently un-maintained.
- Feature(s):
- Consult Programming Languages Support Status for a up to date features/status of this programming language support part.
- Requirement(s):
- Ada compiler
Definition at line 14 of file adasupportpart.h.
Constructor & Destructor Documentation
|
Definition at line 53 of file adasupportpart.cpp. References KDevPlugin::core(), d, KDevMainWindow::embedOutputView(), KDevPlugin::mainWindow(), projectClosed(), projectOpened(), savedFile(), KXMLGUIClient::setInstance(), and KXMLGUIClient::setXMLFile(). |
|
Definition at line 85 of file adasupportpart.cpp. References d, KDevPlugin::mainWindow(), and KDevMainWindow::removeView(). |
Member Function Documentation
|
Definition at line 178 of file adasupportpart.cpp. References KDevLanguageSupport::addedSourceInfo(), maybeParse(), KDevPlugin::project(), and KDevProject::projectDirectory(). Referenced by projectOpened(). |
|
Definition at line 361 of file adasupportpart.cpp. References KDevLanguageSupport::addedSourceInfo(), maybeParse(), KDevPlugin::project(), and KDevProject::projectDirectory(). Referenced by projectOpened(). |
|
Returns the feature set of the language. This is e.g. used by the class view to decide which organizer items to display and which not. Reimplemented from KDevLanguageSupport. Definition at line 96 of file adasupportpart.cpp. |
|
Definition at line 161 of file adasupportpart.cpp. Referenced by maybeParse(). |
|
Definition at line 122 of file adasupportpart.cpp. References KDevProject::allFiles(), kdDebug(), KDevPlugin::mainWindow(), maybeParse(), KDevPlugin::project(), KDevProject::projectDirectory(), KDevMainWindow::statusBar(), and KDevLanguageSupport::updatedSourceInfo(). Referenced by projectOpened(). |
|
Definition at line 166 of file adasupportpart.cpp. References fileExtensions(), kdDebug(), and parse(). Referenced by addedFilesToProject(), changedFilesInProject(), initialParse(), and savedFile(). |
|
Returns a typical mimetype list for the support language should be configurable in the languagesupport dialog.
Reimplemented from KDevLanguageSupport. Definition at line 306 of file adasupportpart.cpp. References KMimeType::List, and KMimeType::mimeType(). |
|
|
Definition at line 259 of file adasupportpart.cpp. References AdaParser::compilation_unit(), d, kdDebug(), AdaParser::numberOfErrors(), AdaLexer::numberOfErrors(), JAVADebugger::parser, AdaParser::resetErrors(), AdaLexer::resetErrors(), AdaParser::setProblemReporter(), AdaLexer::setProblemReporter(), and text(). |
|
Definition at line 116 of file adasupportpart.cpp. References saveProjectSourceInfo(). Referenced by AdaSupportPart(). |
|
Definition at line 103 of file adasupportpart.cpp. References addedFilesToProject(), changedFilesInProject(), initialParse(), KDevPlugin::project(), and removedFilesFromProject(). Referenced by AdaSupportPart(). |
|
Definition at line 191 of file adasupportpart.cpp. References KDevLanguageSupport::aboutToRemoveSourceInfo(), KDevPlugin::codeModel(), CodeModel::hasFile(), kdDebug(), KDevPlugin::project(), KDevProject::projectDirectory(), and CodeModel::removeFile(). Referenced by projectOpened(). |
|
Definition at line 296 of file adasupportpart.cpp. References KDevProject::allFiles(), kdDebug(), length(), maybeParse(), KURL::path(), KDevPlugin::project(), and KDevLanguageSupport::updatedSourceInfo(). Referenced by AdaSupportPart(). |
|
Definition at line 318 of file adasupportpart.cpp. Referenced by projectClosed(). |
Member Data Documentation
|
Reimplemented from KDevPlugin. Definition at line 45 of file adasupportpart.h. Referenced by AdaSupportPart(), parse(), parseContents(), and ~AdaSupportPart(). |
The documentation for this class was generated from the following files:
- languages/ada/adasupportpart.h
- languages/ada/adasupportpart.cpp