|
clang 23.0.0git
|
Contains the lexed tokens of an attribute with arguments that may reference member variables and so need to be parsed at the end of the class declaration after parsing all other member member declarations. More...
#include "clang/Parse/Parser.h"
Public Types | |
| enum class | Kind { Declaration , Type } |
Public Member Functions | |
| LateParsedAttribute (Parser *P, IdentifierInfo &Name, SourceLocation Loc) | |
| void | ParseLexedAttributes () override |
| void | addDecl (Decl *D) |
| Kind | getKind () const |
| Public Member Functions inherited from clang::LateParsedDeclaration | |
| virtual | ~LateParsedDeclaration () |
| virtual void | ParseLexedMethodDeclarations () |
| virtual void | ParseLexedMemberInitializers () |
| virtual void | ParseLexedMethodDefs () |
| virtual void | ParseLexedPragmas () |
Static Public Member Functions | |
| static bool | classof (const LateParsedAttribute *LA) |
Public Attributes | |
| Parser * | Self |
| CachedTokens | Toks |
| IdentifierInfo & | AttrName |
| IdentifierInfo * | MacroII = nullptr |
| SourceLocation | AttrNameLoc |
| SmallVector< Decl *, 2 > | Decls |
Protected Member Functions | |
| LateParsedAttribute (Parser *P, IdentifierInfo &Name, SourceLocation Loc, Kind K) | |
Contains the lexed tokens of an attribute with arguments that may reference member variables and so need to be parsed at the end of the class declaration after parsing all other member member declarations.
FIXME: Perhaps we should change the name of LateParsedDeclaration to LateParsedTokens.
|
strong |
|
inlineexplicitprotected |
Definition at line 210 of file Parser.h.
References AttrName, AttrNameLoc, and Self.
Referenced by classof(), clang::LateParsedTypeAttribute::classof(), LateParsedAttribute(), and clang::LateParsedTypeAttribute::LateParsedTypeAttribute().
|
inlineexplicit |
Definition at line 215 of file Parser.h.
References Declaration, and LateParsedAttribute().
|
inline |
|
inlinestatic |
Definition at line 225 of file Parser.h.
References LateParsedAttribute().
|
inline |
Definition at line 223 of file Parser.h.
Referenced by clang::LateParsedTypeAttribute::classof().
|
overridevirtual |
Reimplemented from clang::LateParsedDeclaration.
Reimplemented in clang::LateParsedTypeAttribute.
Definition at line 318 of file ParseCXXInlineMethods.cpp.
References Self.
| IdentifierInfo& clang::LateParsedAttribute::AttrName |
Definition at line 201 of file Parser.h.
Referenced by LateParsedAttribute().
| SourceLocation clang::LateParsedAttribute::AttrNameLoc |
Definition at line 203 of file Parser.h.
Referenced by LateParsedAttribute().
| SmallVector<Decl *, 2> clang::LateParsedAttribute::Decls |
| IdentifierInfo* clang::LateParsedAttribute::MacroII = nullptr |
| Parser* clang::LateParsedAttribute::Self |
Definition at line 199 of file Parser.h.
Referenced by LateParsedAttribute(), clang::LateParsedTypeAttribute::ParseInto(), and ParseLexedAttributes().
| CachedTokens clang::LateParsedAttribute::Toks |