mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-26 18:42:41 +01:00
merge CppParser C++11 and other improvements from appinf
This commit is contained in:
@@ -77,6 +77,9 @@ public:
|
||||
void typeDefs(SymbolTable& table) const;
|
||||
/// Fills the symbol table with all type definitions.
|
||||
|
||||
void typeAliases(SymbolTable& table) const;
|
||||
/// Fills the symbol table with all type alias (using) definitions.
|
||||
|
||||
void enums(SymbolTable& table) const;
|
||||
/// Fills the symbol table with all enums.
|
||||
|
||||
|
||||
@@ -46,6 +46,7 @@ public:
|
||||
SYM_PARAMETER, /// A function parameter
|
||||
SYM_STRUCT, /// A struct or class
|
||||
SYM_TYPEDEF, /// A typedef
|
||||
SYM_TYPEALIAS, /// A type alias (using)
|
||||
SYM_BUILTIN, /// A built-in type
|
||||
SYM_VARIABLE /// A (member) variable
|
||||
};
|
||||
|
||||
@@ -43,6 +43,23 @@ public:
|
||||
};
|
||||
|
||||
|
||||
class CppParser_API TypeAlias: public Decl
|
||||
/// This class represents a type alias definition (using).
|
||||
{
|
||||
public:
|
||||
TypeAlias(const std::string& decl, NameSpace* pNameSpace);
|
||||
/// Creates the TypeAlias.
|
||||
|
||||
~TypeAlias();
|
||||
/// Destroys the TypeAlias.
|
||||
|
||||
Symbol::Kind kind() const;
|
||||
|
||||
std::string baseType() const;
|
||||
/// Returns the underlying base type.
|
||||
};
|
||||
|
||||
|
||||
} } // namespace Poco::CppParser
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user