language/duchain
KDevelop::ParsingEnvironment Class Reference
Use this as base-class to define new parsing-environments. More...
#include <parsingenvironment.h>
Public Member Functions | |
| virtual int | type () const |
Detailed Description
Use this as base-class to define new parsing-environments.
Parsing-environments are needed for languages that create different parsing-results depending on the environment. For example in c++, the environment mainly consists of macros. The include-path can be considered to be a part of the parsing-environment too, because different files may be included using another include-path.
The classes have to use the serialization scheme from the duchain. Each class must be registered using REGISTER_DUCHAIN_ITEM with a unique id.
- Warning:
- Access to this class must be serialized through du-chain locking
Definition at line 80 of file parsingenvironment.h.
Member Function Documentation
| int KDevelop::ParsingEnvironment::type | ( | ) | const [virtual] |
- See also:
- ParsingEnvironmentType
Definition at line 124 of file parsingenvironment.cpp.
The documentation for this class was generated from the following files:
KDE 4.4 API Reference