clang  10.0.0svn
Public Member Functions | List of all members
clang::TextNodeDumper Class Reference

#include "clang/AST/TextNodeDumper.h"

Inheritance diagram for clang::TextNodeDumper:
Inheritance graph
[legend]
Collaboration diagram for clang::TextNodeDumper:
Collaboration graph
[legend]

Public Member Functions

 TextNodeDumper (raw_ostream &OS, bool ShowColors, const SourceManager *SM, const PrintingPolicy &PrintPolicy, const comments::CommandTraits *Traits)
 
void Visit (const comments::Comment *C, const comments::FullComment *FC)
 
void Visit (const Attr *A)
 
void Visit (const TemplateArgument &TA, SourceRange R, const Decl *From=nullptr, StringRef Label={})
 
void Visit (const Stmt *Node)
 
void Visit (const Type *T)
 
void Visit (QualType T)
 
void Visit (const Decl *D)
 
void Visit (const CXXCtorInitializer *Init)
 
void Visit (const OMPClause *C)
 
void Visit (const BlockDecl::Capture &C)
 
void Visit (const GenericSelectionExpr::ConstAssociation &A)
 
void dumpPointer (const void *Ptr)
 
void dumpLocation (SourceLocation Loc)
 
void dumpSourceRange (SourceRange R)
 
void dumpBareType (QualType T, bool Desugar=true)
 
void dumpType (QualType T)
 
void dumpBareDeclRef (const Decl *D)
 
void dumpName (const NamedDecl *ND)
 
void dumpAccessSpecifier (AccessSpecifier AS)
 
void dumpDeclRef (const Decl *D, StringRef Label={})
 
void visitTextComment (const comments::TextComment *C, const comments::FullComment *)
 
void visitInlineCommandComment (const comments::InlineCommandComment *C, const comments::FullComment *)
 
void visitHTMLStartTagComment (const comments::HTMLStartTagComment *C, const comments::FullComment *)
 
void visitHTMLEndTagComment (const comments::HTMLEndTagComment *C, const comments::FullComment *)
 
void visitBlockCommandComment (const comments::BlockCommandComment *C, const comments::FullComment *)
 
void visitParamCommandComment (const comments::ParamCommandComment *C, const comments::FullComment *FC)
 
void visitTParamCommandComment (const comments::TParamCommandComment *C, const comments::FullComment *FC)
 
void visitVerbatimBlockComment (const comments::VerbatimBlockComment *C, const comments::FullComment *)
 
void visitVerbatimBlockLineComment (const comments::VerbatimBlockLineComment *C, const comments::FullComment *)
 
void visitVerbatimLineComment (const comments::VerbatimLineComment *C, const comments::FullComment *)
 
void VisitNullTemplateArgument (const TemplateArgument &TA)
 
void VisitTypeTemplateArgument (const TemplateArgument &TA)
 
void VisitDeclarationTemplateArgument (const TemplateArgument &TA)
 
void VisitNullPtrTemplateArgument (const TemplateArgument &TA)
 
void VisitIntegralTemplateArgument (const TemplateArgument &TA)
 
void VisitTemplateTemplateArgument (const TemplateArgument &TA)
 
void VisitTemplateExpansionTemplateArgument (const TemplateArgument &TA)
 
void VisitExpressionTemplateArgument (const TemplateArgument &TA)
 
void VisitPackTemplateArgument (const TemplateArgument &TA)
 
void VisitIfStmt (const IfStmt *Node)
 
void VisitSwitchStmt (const SwitchStmt *Node)
 
void VisitWhileStmt (const WhileStmt *Node)
 
void VisitLabelStmt (const LabelStmt *Node)
 
void VisitGotoStmt (const GotoStmt *Node)
 
void VisitCaseStmt (const CaseStmt *Node)
 
void VisitConstantExpr (const ConstantExpr *Node)
 
void VisitCallExpr (const CallExpr *Node)
 
void VisitCastExpr (const CastExpr *Node)
 
void VisitImplicitCastExpr (const ImplicitCastExpr *Node)
 
void VisitDeclRefExpr (const DeclRefExpr *Node)
 
void VisitPredefinedExpr (const PredefinedExpr *Node)
 
void VisitCharacterLiteral (const CharacterLiteral *Node)
 
void VisitIntegerLiteral (const IntegerLiteral *Node)
 
void VisitFixedPointLiteral (const FixedPointLiteral *Node)
 
void VisitFloatingLiteral (const FloatingLiteral *Node)
 
void VisitStringLiteral (const StringLiteral *Str)
 
void VisitInitListExpr (const InitListExpr *ILE)
 
void VisitGenericSelectionExpr (const GenericSelectionExpr *E)
 
void VisitUnaryOperator (const UnaryOperator *Node)
 
void VisitUnaryExprOrTypeTraitExpr (const UnaryExprOrTypeTraitExpr *Node)
 
void VisitMemberExpr (const MemberExpr *Node)
 
void VisitExtVectorElementExpr (const ExtVectorElementExpr *Node)
 
void VisitBinaryOperator (const BinaryOperator *Node)
 
void VisitCompoundAssignOperator (const CompoundAssignOperator *Node)
 
void VisitAddrLabelExpr (const AddrLabelExpr *Node)
 
void VisitCXXNamedCastExpr (const CXXNamedCastExpr *Node)
 
void VisitCXXBoolLiteralExpr (const CXXBoolLiteralExpr *Node)
 
void VisitCXXThisExpr (const CXXThisExpr *Node)
 
void VisitCXXFunctionalCastExpr (const CXXFunctionalCastExpr *Node)
 
void VisitCXXUnresolvedConstructExpr (const CXXUnresolvedConstructExpr *Node)
 
void VisitCXXConstructExpr (const CXXConstructExpr *Node)
 
void VisitCXXBindTemporaryExpr (const CXXBindTemporaryExpr *Node)
 
void VisitCXXNewExpr (const CXXNewExpr *Node)
 
void VisitCXXDeleteExpr (const CXXDeleteExpr *Node)
 
void VisitMaterializeTemporaryExpr (const MaterializeTemporaryExpr *Node)
 
void VisitExprWithCleanups (const ExprWithCleanups *Node)
 
void VisitUnresolvedLookupExpr (const UnresolvedLookupExpr *Node)
 
void VisitSizeOfPackExpr (const SizeOfPackExpr *Node)
 
void VisitCXXDependentScopeMemberExpr (const CXXDependentScopeMemberExpr *Node)
 
void VisitObjCAtCatchStmt (const ObjCAtCatchStmt *Node)
 
void VisitObjCEncodeExpr (const ObjCEncodeExpr *Node)
 
void VisitObjCMessageExpr (const ObjCMessageExpr *Node)
 
void VisitObjCBoxedExpr (const ObjCBoxedExpr *Node)
 
void VisitObjCSelectorExpr (const ObjCSelectorExpr *Node)
 
void VisitObjCProtocolExpr (const ObjCProtocolExpr *Node)
 
void VisitObjCPropertyRefExpr (const ObjCPropertyRefExpr *Node)
 
void VisitObjCSubscriptRefExpr (const ObjCSubscriptRefExpr *Node)
 
void VisitObjCIvarRefExpr (const ObjCIvarRefExpr *Node)
 
void VisitObjCBoolLiteralExpr (const ObjCBoolLiteralExpr *Node)
 
void VisitRValueReferenceType (const ReferenceType *T)
 
void VisitArrayType (const ArrayType *T)
 
void VisitConstantArrayType (const ConstantArrayType *T)
 
void VisitVariableArrayType (const VariableArrayType *T)
 
void VisitDependentSizedArrayType (const DependentSizedArrayType *T)
 
void VisitDependentSizedExtVectorType (const DependentSizedExtVectorType *T)
 
void VisitVectorType (const VectorType *T)
 
void VisitFunctionType (const FunctionType *T)
 
void VisitFunctionProtoType (const FunctionProtoType *T)
 
void VisitUnresolvedUsingType (const UnresolvedUsingType *T)
 
void VisitTypedefType (const TypedefType *T)
 
void VisitUnaryTransformType (const UnaryTransformType *T)
 
void VisitTagType (const TagType *T)
 
void VisitTemplateTypeParmType (const TemplateTypeParmType *T)
 
void VisitAutoType (const AutoType *T)
 
void VisitTemplateSpecializationType (const TemplateSpecializationType *T)
 
void VisitInjectedClassNameType (const InjectedClassNameType *T)
 
void VisitObjCInterfaceType (const ObjCInterfaceType *T)
 
void VisitPackExpansionType (const PackExpansionType *T)
 
void VisitLabelDecl (const LabelDecl *D)
 
void VisitTypedefDecl (const TypedefDecl *D)
 
void VisitEnumDecl (const EnumDecl *D)
 
void VisitRecordDecl (const RecordDecl *D)
 
void VisitEnumConstantDecl (const EnumConstantDecl *D)
 
void VisitIndirectFieldDecl (const IndirectFieldDecl *D)
 
void VisitFunctionDecl (const FunctionDecl *D)
 
void VisitFieldDecl (const FieldDecl *D)
 
void VisitVarDecl (const VarDecl *D)
 
void VisitBindingDecl (const BindingDecl *D)
 
void VisitCapturedDecl (const CapturedDecl *D)
 
void VisitImportDecl (const ImportDecl *D)
 
void VisitPragmaCommentDecl (const PragmaCommentDecl *D)
 
void VisitPragmaDetectMismatchDecl (const PragmaDetectMismatchDecl *D)
 
void VisitOMPExecutableDirective (const OMPExecutableDirective *D)
 
void VisitOMPDeclareReductionDecl (const OMPDeclareReductionDecl *D)
 
void VisitOMPRequiresDecl (const OMPRequiresDecl *D)
 
void VisitOMPCapturedExprDecl (const OMPCapturedExprDecl *D)
 
void VisitNamespaceDecl (const NamespaceDecl *D)
 
void VisitUsingDirectiveDecl (const UsingDirectiveDecl *D)
 
void VisitNamespaceAliasDecl (const NamespaceAliasDecl *D)
 
void VisitTypeAliasDecl (const TypeAliasDecl *D)
 
void VisitTypeAliasTemplateDecl (const TypeAliasTemplateDecl *D)
 
void VisitCXXRecordDecl (const CXXRecordDecl *D)
 
void VisitFunctionTemplateDecl (const FunctionTemplateDecl *D)
 
void VisitClassTemplateDecl (const ClassTemplateDecl *D)
 
void VisitBuiltinTemplateDecl (const BuiltinTemplateDecl *D)
 
void VisitVarTemplateDecl (const VarTemplateDecl *D)
 
void VisitTemplateTypeParmDecl (const TemplateTypeParmDecl *D)
 
void VisitNonTypeTemplateParmDecl (const NonTypeTemplateParmDecl *D)
 
void VisitTemplateTemplateParmDecl (const TemplateTemplateParmDecl *D)
 
void VisitUsingDecl (const UsingDecl *D)
 
void VisitUnresolvedUsingTypenameDecl (const UnresolvedUsingTypenameDecl *D)
 
void VisitUnresolvedUsingValueDecl (const UnresolvedUsingValueDecl *D)
 
void VisitUsingShadowDecl (const UsingShadowDecl *D)
 
void VisitConstructorUsingShadowDecl (const ConstructorUsingShadowDecl *D)
 
void VisitLinkageSpecDecl (const LinkageSpecDecl *D)
 
void VisitAccessSpecDecl (const AccessSpecDecl *D)
 
void VisitFriendDecl (const FriendDecl *D)
 
void VisitObjCIvarDecl (const ObjCIvarDecl *D)
 
void VisitObjCMethodDecl (const ObjCMethodDecl *D)
 
void VisitObjCTypeParamDecl (const ObjCTypeParamDecl *D)
 
void VisitObjCCategoryDecl (const ObjCCategoryDecl *D)
 
void VisitObjCCategoryImplDecl (const ObjCCategoryImplDecl *D)
 
void VisitObjCProtocolDecl (const ObjCProtocolDecl *D)
 
void VisitObjCInterfaceDecl (const ObjCInterfaceDecl *D)
 
void VisitObjCImplementationDecl (const ObjCImplementationDecl *D)
 
void VisitObjCCompatibleAliasDecl (const ObjCCompatibleAliasDecl *D)
 
void VisitObjCPropertyDecl (const ObjCPropertyDecl *D)
 
void VisitObjCPropertyImplDecl (const ObjCPropertyImplDecl *D)
 
void VisitBlockDecl (const BlockDecl *D)
 
void VisitConceptDecl (const ConceptDecl *D)
 
- Public Member Functions inherited from clang::TextTreeStructure
template<typename Fn >
void AddChild (Fn DoAddChild)
 Add a child of the current node. Calls DoAddChild without arguments. More...
 
template<typename Fn >
void AddChild (StringRef Label, Fn DoAddChild)
 Add a child of the current node with an optional label. More...
 
 TextTreeStructure (raw_ostream &OS, bool ShowColors)
 
- Public Member Functions inherited from clang::comments::CommentVisitorBase< llvm::make_const_ptr, TextNodeDumper, void, ParamTys... >
void visit (PTR(Comment) C, ParamTys... P)
 
void visitComment (PTR(Comment) C, ParamTys... P)
 
- Public Member Functions inherited from clang::attrvisitor::Base< llvm::make_const_ptr, TextNodeDumper, void, ParamTys... >
void Visit (PTR(Attr) A)
 
void VisitAttr (PTR(Attr))
 
- Public Member Functions inherited from clang::templateargumentvisitor::Base< llvm::make_const_ref, TextNodeDumper, void, ParamTys... >
void Visit (REF(TemplateArgument) TA, ParamTys... P)
 
 VISIT_METHOD (Null)
 
 VISIT_METHOD (Type)
 
 VISIT_METHOD (Declaration)
 
 VISIT_METHOD (NullPtr)
 
 VISIT_METHOD (Integral)
 
 VISIT_METHOD (Template)
 
 VISIT_METHOD (TemplateExpansion)
 
 VISIT_METHOD (Expression)
 
 VISIT_METHOD (Pack)
 
void VisitTemplateArgument (REF(TemplateArgument), ParamTys...)
 
- Public Member Functions inherited from clang::StmtVisitorBase< llvm::make_const_ptr, TextNodeDumper, void, ParamTys... >
void Visit (PTR(Stmt) S, ParamTys... P)
 
 BINOP_FALLBACK (PtrMemD) BINOP_FALLBACK(PtrMemI) BINOP_FALLBACK(Mul) BINOP_FALLBACK(Div) BINOP_FALLBACK(Rem) BINOP_FALLBACK(Add) BINOP_FALLBACK(Sub) BINOP_FALLBACK(Shl) BINOP_FALLBACK(LT) BINOP_FALLBACK(GT) BINOP_FALLBACK(LE) BINOP_FALLBACK(GE) BINOP_FALLBACK(EQ) BINOP_FALLBACK(NE) BINOP_FALLBACK(And) BINOP_FALLBACK(Xor) BINOP_FALLBACK(Or) BINOP_FALLBACK(LAnd) BINOP_FALLBACK(LOr) CAO_FALLBACK(MulAssign) CAO_FALLBACK(DivAssign) CAO_FALLBACK(RemAssign) CAO_FALLBACK(AddAssign) CAO_FALLBACK(SubAssign) CAO_FALLBACK(ShlAssign) CAO_FALLBACK(ShrAssign) CAO_FALLBACK(AndAssign) CAO_FALLBACK(OrAssign) UNARYOP_FALLBACK(PostInc) UNARYOP_FALLBACK(PostDec) UNARYOP_FALLBACK(PreInc) UNARYOP_FALLBACK(PreDec) UNARYOP_FALLBACK(AddrOf) UNARYOP_FALLBACK(Deref) UNARYOP_FALLBACK(Plus) UNARYOP_FALLBACK(Minus) UNARYOP_FALLBACK(Not) UNARYOP_FALLBACK(LNot) UNARYOP_FALLBACK(Real) UNARYOP_FALLBACK(Imag) UNARYOP_FALLBACK(Extension) UNARYOP_FALLBACK(Coawait) void VisitStmt(PTR(Stmt) Node
 
- Public Member Functions inherited from clang::TypeVisitor< TextNodeDumper >
void Visit (const Type *T)
 Performs the operation associated with this visitor object. More...
 
void VisitType (const Type *)
 Method called if ImpClass doesn't provide specific handler for some type class. More...
 
- Public Member Functions inherited from clang::declvisitor::Base< llvm::make_const_ptr, TextNodeDumper, void >
void Visit (PTR(Decl) D)
 
void VisitDecl (PTR(Decl) D)
 

Additional Inherited Members

- Public Attributes inherited from clang::StmtVisitorBase< llvm::make_const_ptr, TextNodeDumper, void, ParamTys... >
ParamTys P
 

Detailed Description

Definition at line 125 of file TextNodeDumper.h.

Constructor & Destructor Documentation

◆ TextNodeDumper()

TextNodeDumper::TextNodeDumper ( raw_ostream &  OS,
bool  ShowColors,
const SourceManager SM,
const PrintingPolicy PrintPolicy,
const comments::CommandTraits Traits 
)

Definition at line 50 of file TextNodeDumper.cpp.

Referenced by Visit().

Member Function Documentation

◆ dumpAccessSpecifier()

void TextNodeDumper::dumpAccessSpecifier ( AccessSpecifier  AS)

◆ dumpBareDeclRef()

void TextNodeDumper::dumpBareDeclRef ( const Decl D)

◆ dumpBareType()

void TextNodeDumper::dumpBareType ( QualType  T,
bool  Desugar = true 
)

◆ dumpDeclRef()

void TextNodeDumper::dumpDeclRef ( const Decl D,
StringRef  Label = {} 
)

◆ dumpLocation()

void TextNodeDumper::dumpLocation ( SourceLocation  Loc)

◆ dumpName()

void TextNodeDumper::dumpName ( const NamedDecl ND)

◆ dumpPointer()

void TextNodeDumper::dumpPointer ( const void *  Ptr)

◆ dumpSourceRange()

void TextNodeDumper::dumpSourceRange ( SourceRange  R)

◆ dumpType()

void TextNodeDumper::dumpType ( QualType  T)

◆ Visit() [1/11]

void TextNodeDumper::Visit ( const comments::Comment C,
const comments::FullComment FC 
)

◆ Visit() [2/11]

void TextNodeDumper::Visit ( const Attr A)

◆ Visit() [3/11]

void TextNodeDumper::Visit ( const TemplateArgument TA,
SourceRange  R,
const Decl From = nullptr,
StringRef  Label = {} 
)

◆ Visit() [4/11]

void TextNodeDumper::Visit ( const Stmt Node)

◆ Visit() [5/11]

void TextNodeDumper::Visit ( const Type T)

◆ Visit() [6/11]

void TextNodeDumper::Visit ( QualType  T)

◆ Visit() [7/11]

void TextNodeDumper::Visit ( const Decl D)

◆ Visit() [8/11]

void TextNodeDumper::Visit ( const CXXCtorInitializer Init)

◆ Visit() [9/11]

void TextNodeDumper::Visit ( const OMPClause C)

◆ Visit() [10/11]

void TextNodeDumper::Visit ( const BlockDecl::Capture C)

◆ Visit() [11/11]

void TextNodeDumper::Visit ( const GenericSelectionExpr::ConstAssociation A)

Definition at line 323 of file TextNodeDumper.cpp.

References dumpType(), and clang::TypeSourceInfo::getType().

◆ VisitAccessSpecDecl()

void TextNodeDumper::VisitAccessSpecDecl ( const AccessSpecDecl D)

Definition at line 1781 of file TextNodeDumper.cpp.

References dumpAccessSpecifier(), and clang::Decl::getAccess().

◆ VisitAddrLabelExpr()

void TextNodeDumper::VisitAddrLabelExpr ( const AddrLabelExpr Node)

◆ VisitArrayType()

void TextNodeDumper::VisitArrayType ( const ArrayType T)

◆ VisitAutoType()

void TextNodeDumper::VisitAutoType ( const AutoType T)

◆ VisitBinaryOperator()

void TextNodeDumper::VisitBinaryOperator ( const BinaryOperator Node)

◆ VisitBindingDecl()

void TextNodeDumper::VisitBindingDecl ( const BindingDecl D)

Definition at line 1393 of file TextNodeDumper.cpp.

References dumpName(), dumpType(), and clang::ValueDecl::getType().

◆ visitBlockCommandComment()

void TextNodeDumper::visitBlockCommandComment ( const comments::BlockCommandComment C,
const comments::FullComment  
)

◆ VisitBlockDecl()

void TextNodeDumper::VisitBlockDecl ( const BlockDecl D)

◆ VisitBuiltinTemplateDecl()

void TextNodeDumper::VisitBuiltinTemplateDecl ( const BuiltinTemplateDecl D)

Definition at line 1678 of file TextNodeDumper.cpp.

References dumpName().

◆ VisitCallExpr()

void TextNodeDumper::VisitCallExpr ( const CallExpr Node)

Definition at line 694 of file TextNodeDumper.cpp.

References clang::CallExpr::usesADL().

◆ VisitCapturedDecl()

void TextNodeDumper::VisitCapturedDecl ( const CapturedDecl D)

Definition at line 1398 of file TextNodeDumper.cpp.

References clang::CapturedDecl::isNothrow().

◆ VisitCaseStmt()

void TextNodeDumper::VisitCaseStmt ( const CaseStmt Node)

Definition at line 681 of file TextNodeDumper.cpp.

References clang::CaseStmt::caseStmtIsGNURange().

◆ VisitCastExpr()

void TextNodeDumper::VisitCastExpr ( const CastExpr Node)

◆ VisitCharacterLiteral()

void TextNodeDumper::VisitCharacterLiteral ( const CharacterLiteral Node)

Definition at line 761 of file TextNodeDumper.cpp.

References clang::CharacterLiteral::getValue(), and clang::ValueColor.

◆ VisitClassTemplateDecl()

void TextNodeDumper::VisitClassTemplateDecl ( const ClassTemplateDecl D)

Definition at line 1670 of file TextNodeDumper.cpp.

References dumpName().

◆ VisitCompoundAssignOperator()

void TextNodeDumper::VisitCompoundAssignOperator ( const CompoundAssignOperator Node)

◆ VisitConceptDecl()

void TextNodeDumper::VisitConceptDecl ( const ConceptDecl D)

Definition at line 1949 of file TextNodeDumper.cpp.

References dumpName().

◆ VisitConstantArrayType()

void TextNodeDumper::VisitConstantArrayType ( const ConstantArrayType T)

Definition at line 1084 of file TextNodeDumper.cpp.

References clang::ConstantArrayType::getSize(), and VisitArrayType().

◆ VisitConstantExpr()

void TextNodeDumper::VisitConstantExpr ( const ConstantExpr Node)

◆ VisitConstructorUsingShadowDecl()

void TextNodeDumper::VisitConstructorUsingShadowDecl ( const ConstructorUsingShadowDecl D)

◆ VisitCXXBindTemporaryExpr()

void TextNodeDumper::VisitCXXBindTemporaryExpr ( const CXXBindTemporaryExpr Node)

Definition at line 908 of file TextNodeDumper.cpp.

References dumpPointer().

◆ VisitCXXBoolLiteralExpr()

void TextNodeDumper::VisitCXXBoolLiteralExpr ( const CXXBoolLiteralExpr Node)

Definition at line 872 of file TextNodeDumper.cpp.

References clang::CXXBoolLiteralExpr::getValue().

◆ VisitCXXConstructExpr()

void TextNodeDumper::VisitCXXConstructExpr ( const CXXConstructExpr Node)

◆ VisitCXXDeleteExpr()

void TextNodeDumper::VisitCXXDeleteExpr ( const CXXDeleteExpr Node)

◆ VisitCXXDependentScopeMemberExpr()

void TextNodeDumper::VisitCXXDependentScopeMemberExpr ( const CXXDependentScopeMemberExpr Node)

◆ VisitCXXFunctionalCastExpr()

void TextNodeDumper::VisitCXXFunctionalCastExpr ( const CXXFunctionalCastExpr Node)

◆ VisitCXXNamedCastExpr()

void TextNodeDumper::VisitCXXNamedCastExpr ( const CXXNamedCastExpr Node)

◆ VisitCXXNewExpr()

void TextNodeDumper::VisitCXXNewExpr ( const CXXNewExpr Node)

◆ VisitCXXRecordDecl()

void TextNodeDumper::VisitCXXRecordDecl ( const CXXRecordDecl D)

◆ VisitCXXThisExpr()

void TextNodeDumper::VisitCXXThisExpr ( const CXXThisExpr Node)

Definition at line 876 of file TextNodeDumper.cpp.

References clang::CXXThisExpr::isImplicit().

◆ VisitCXXUnresolvedConstructExpr()

void TextNodeDumper::VisitCXXUnresolvedConstructExpr ( const CXXUnresolvedConstructExpr Node)

◆ VisitDeclarationTemplateArgument()

void TextNodeDumper::VisitDeclarationTemplateArgument ( const TemplateArgument TA)

Definition at line 593 of file TextNodeDumper.cpp.

References dumpDeclRef(), and clang::TemplateArgument::getAsDecl().

◆ VisitDeclRefExpr()

void TextNodeDumper::VisitDeclRefExpr ( const DeclRefExpr Node)

◆ VisitDependentSizedArrayType()

void TextNodeDumper::VisitDependentSizedArrayType ( const DependentSizedArrayType T)

◆ VisitDependentSizedExtVectorType()

void TextNodeDumper::VisitDependentSizedExtVectorType ( const DependentSizedExtVectorType T)

◆ VisitEnumConstantDecl()

void TextNodeDumper::VisitEnumConstantDecl ( const EnumConstantDecl D)

Definition at line 1257 of file TextNodeDumper.cpp.

References dumpName(), dumpType(), and clang::ValueDecl::getType().

◆ VisitEnumDecl()

void TextNodeDumper::VisitEnumDecl ( const EnumDecl D)

◆ VisitExpressionTemplateArgument()

void TextNodeDumper::VisitExpressionTemplateArgument ( const TemplateArgument TA)

Definition at line 618 of file TextNodeDumper.cpp.

◆ VisitExprWithCleanups()

void TextNodeDumper::VisitExprWithCleanups ( const ExprWithCleanups Node)

◆ VisitExtVectorElementExpr()

void TextNodeDumper::VisitExtVectorElementExpr ( const ExtVectorElementExpr Node)

◆ VisitFieldDecl()

void TextNodeDumper::VisitFieldDecl ( const FieldDecl D)

◆ VisitFixedPointLiteral()

void TextNodeDumper::VisitFixedPointLiteral ( const FixedPointLiteral Node)

◆ VisitFloatingLiteral()

void TextNodeDumper::VisitFloatingLiteral ( const FloatingLiteral Node)

◆ VisitFriendDecl()

void TextNodeDumper::VisitFriendDecl ( const FriendDecl D)

Definition at line 1786 of file TextNodeDumper.cpp.

References dumpType(), and clang::FriendDecl::getFriendType().

◆ VisitFunctionDecl()

void TextNodeDumper::VisitFunctionDecl ( const FunctionDecl D)

◆ VisitFunctionProtoType()

void TextNodeDumper::VisitFunctionProtoType ( const FunctionProtoType T)

◆ VisitFunctionTemplateDecl()

void TextNodeDumper::VisitFunctionTemplateDecl ( const FunctionTemplateDecl D)

Definition at line 1666 of file TextNodeDumper.cpp.

References dumpName().

◆ VisitFunctionType()

void TextNodeDumper::VisitFunctionType ( const FunctionType T)

◆ VisitGenericSelectionExpr()

void TextNodeDumper::VisitGenericSelectionExpr ( const GenericSelectionExpr E)

◆ VisitGotoStmt()

void TextNodeDumper::VisitGotoStmt ( const GotoStmt Node)

◆ visitHTMLEndTagComment()

void TextNodeDumper::visitHTMLEndTagComment ( const comments::HTMLEndTagComment C,
const comments::FullComment  
)

Definition at line 512 of file TextNodeDumper.cpp.

References clang::comments::HTMLTagComment::getTagName().

◆ visitHTMLStartTagComment()

void TextNodeDumper::visitHTMLStartTagComment ( const comments::HTMLStartTagComment C,
const comments::FullComment  
)

◆ VisitIfStmt()

void TextNodeDumper::VisitIfStmt ( const IfStmt Node)

◆ VisitImplicitCastExpr()

void TextNodeDumper::VisitImplicitCastExpr ( const ImplicitCastExpr Node)

◆ VisitImportDecl()

void TextNodeDumper::VisitImportDecl ( const ImportDecl D)

◆ VisitIndirectFieldDecl()

void TextNodeDumper::VisitIndirectFieldDecl ( const IndirectFieldDecl D)

◆ VisitInitListExpr()

void TextNodeDumper::VisitInitListExpr ( const InitListExpr ILE)

◆ VisitInjectedClassNameType()

void TextNodeDumper::VisitInjectedClassNameType ( const InjectedClassNameType T)

Definition at line 1211 of file TextNodeDumper.cpp.

References dumpDeclRef(), and clang::InjectedClassNameType::getDecl().

◆ visitInlineCommandComment()

void TextNodeDumper::visitInlineCommandComment ( const comments::InlineCommandComment C,
const comments::FullComment  
)

◆ VisitIntegerLiteral()

void TextNodeDumper::VisitIntegerLiteral ( const IntegerLiteral Node)

◆ VisitIntegralTemplateArgument()

void TextNodeDumper::VisitIntegralTemplateArgument ( const TemplateArgument TA)

Definition at line 603 of file TextNodeDumper.cpp.

References clang::TemplateArgument::getAsIntegral().

◆ VisitLabelDecl()

void TextNodeDumper::VisitLabelDecl ( const LabelDecl D)

Definition at line 1225 of file TextNodeDumper.cpp.

References dumpName().

◆ VisitLabelStmt()

void TextNodeDumper::VisitLabelStmt ( const LabelStmt Node)

Definition at line 672 of file TextNodeDumper.cpp.

References clang::LabelStmt::getName().

◆ VisitLinkageSpecDecl()

void TextNodeDumper::VisitLinkageSpecDecl ( const LinkageSpecDecl D)

◆ VisitMaterializeTemporaryExpr()

void TextNodeDumper::VisitMaterializeTemporaryExpr ( const MaterializeTemporaryExpr Node)

◆ VisitMemberExpr()

void TextNodeDumper::VisitMemberExpr ( const MemberExpr Node)

◆ VisitNamespaceAliasDecl()

void TextNodeDumper::VisitNamespaceAliasDecl ( const NamespaceAliasDecl D)

◆ VisitNamespaceDecl()

void TextNodeDumper::VisitNamespaceDecl ( const NamespaceDecl D)

◆ VisitNonTypeTemplateParmDecl()

void TextNodeDumper::VisitNonTypeTemplateParmDecl ( const NonTypeTemplateParmDecl D)

◆ VisitNullPtrTemplateArgument()

void TextNodeDumper::VisitNullPtrTemplateArgument ( const TemplateArgument TA)

Definition at line 599 of file TextNodeDumper.cpp.

◆ VisitNullTemplateArgument()

void TextNodeDumper::VisitNullTemplateArgument ( const TemplateArgument TA)

Definition at line 584 of file TextNodeDumper.cpp.

◆ VisitObjCAtCatchStmt()

void TextNodeDumper::VisitObjCAtCatchStmt ( const ObjCAtCatchStmt Node)

Definition at line 991 of file TextNodeDumper.cpp.

References clang::ObjCAtCatchStmt::getCatchParamDecl().

◆ VisitObjCBoolLiteralExpr()

void TextNodeDumper::VisitObjCBoolLiteralExpr ( const ObjCBoolLiteralExpr Node)

Definition at line 1061 of file TextNodeDumper.cpp.

References clang::ObjCBoolLiteralExpr::getValue().

◆ VisitObjCBoxedExpr()

void TextNodeDumper::VisitObjCBoxedExpr ( const ObjCBoxedExpr Node)

Definition at line 984 of file TextNodeDumper.cpp.

References clang::ObjCBoxedExpr::getBoxingMethod().

◆ VisitObjCCategoryDecl()

void TextNodeDumper::VisitObjCCategoryDecl ( const ObjCCategoryDecl D)

◆ VisitObjCCategoryImplDecl()

void TextNodeDumper::VisitObjCCategoryImplDecl ( const ObjCCategoryImplDecl D)

◆ VisitObjCCompatibleAliasDecl()

void TextNodeDumper::VisitObjCCompatibleAliasDecl ( const ObjCCompatibleAliasDecl D)

◆ VisitObjCEncodeExpr()

void TextNodeDumper::VisitObjCEncodeExpr ( const ObjCEncodeExpr Node)

Definition at line 996 of file TextNodeDumper.cpp.

References dumpType(), and clang::ObjCEncodeExpr::getEncodedType().

◆ VisitObjCImplementationDecl()

void TextNodeDumper::VisitObjCImplementationDecl ( const ObjCImplementationDecl D)

◆ VisitObjCInterfaceDecl()

void TextNodeDumper::VisitObjCInterfaceDecl ( const ObjCInterfaceDecl D)

◆ VisitObjCInterfaceType()

void TextNodeDumper::VisitObjCInterfaceType ( const ObjCInterfaceType T)

Definition at line 1216 of file TextNodeDumper.cpp.

References dumpDeclRef(), and clang::ObjCInterfaceType::getDecl().

◆ VisitObjCIvarDecl()

void TextNodeDumper::VisitObjCIvarDecl ( const ObjCIvarDecl D)

◆ VisitObjCIvarRefExpr()

void TextNodeDumper::VisitObjCIvarRefExpr ( const ObjCIvarRefExpr Node)

◆ VisitObjCMessageExpr()

void TextNodeDumper::VisitObjCMessageExpr ( const ObjCMessageExpr Node)

◆ VisitObjCMethodDecl()

void TextNodeDumper::VisitObjCMethodDecl ( const ObjCMethodDecl D)

◆ VisitObjCPropertyDecl()

void TextNodeDumper::VisitObjCPropertyDecl ( const ObjCPropertyDecl D)

◆ VisitObjCPropertyImplDecl()

void TextNodeDumper::VisitObjCPropertyImplDecl ( const ObjCPropertyImplDecl D)

◆ VisitObjCPropertyRefExpr()

void TextNodeDumper::VisitObjCPropertyRefExpr ( const ObjCPropertyRefExpr Node)

◆ VisitObjCProtocolDecl()

void TextNodeDumper::VisitObjCProtocolDecl ( const ObjCProtocolDecl D)

◆ VisitObjCProtocolExpr()

void TextNodeDumper::VisitObjCProtocolExpr ( const ObjCProtocolExpr Node)

Definition at line 1005 of file TextNodeDumper.cpp.

References clang::ObjCProtocolExpr::getProtocol().

◆ VisitObjCSelectorExpr()

void TextNodeDumper::VisitObjCSelectorExpr ( const ObjCSelectorExpr Node)

◆ VisitObjCSubscriptRefExpr()

void TextNodeDumper::VisitObjCSubscriptRefExpr ( const ObjCSubscriptRefExpr Node)

◆ VisitObjCTypeParamDecl()

void TextNodeDumper::VisitObjCTypeParamDecl ( const ObjCTypeParamDecl D)

◆ VisitOMPCapturedExprDecl()

void TextNodeDumper::VisitOMPCapturedExprDecl ( const OMPCapturedExprDecl D)

Definition at line 1490 of file TextNodeDumper.cpp.

References dumpName(), dumpType(), and clang::ValueDecl::getType().

◆ VisitOMPDeclareReductionDecl()

void TextNodeDumper::VisitOMPDeclareReductionDecl ( const OMPDeclareReductionDecl D)

◆ VisitOMPExecutableDirective()

void TextNodeDumper::VisitOMPExecutableDirective ( const OMPExecutableDirective D)

◆ VisitOMPRequiresDecl()

void TextNodeDumper::VisitOMPRequiresDecl ( const OMPRequiresDecl D)

◆ VisitPackExpansionType()

void TextNodeDumper::VisitPackExpansionType ( const PackExpansionType T)

Definition at line 1220 of file TextNodeDumper.cpp.

References clang::PackExpansionType::getNumExpansions().

◆ VisitPackTemplateArgument()

void TextNodeDumper::VisitPackTemplateArgument ( const TemplateArgument TA)

Definition at line 622 of file TextNodeDumper.cpp.

◆ visitParamCommandComment()

void TextNodeDumper::visitParamCommandComment ( const comments::ParamCommandComment C,
const comments::FullComment FC 
)

◆ VisitPragmaCommentDecl()

void TextNodeDumper::VisitPragmaCommentDecl ( const PragmaCommentDecl D)

◆ VisitPragmaDetectMismatchDecl()

void TextNodeDumper::VisitPragmaDetectMismatchDecl ( const PragmaDetectMismatchDecl D)

◆ VisitPredefinedExpr()

void TextNodeDumper::VisitPredefinedExpr ( const PredefinedExpr Node)

◆ VisitRecordDecl()

void TextNodeDumper::VisitRecordDecl ( const RecordDecl D)

◆ VisitRValueReferenceType()

void TextNodeDumper::VisitRValueReferenceType ( const ReferenceType T)

Definition at line 1065 of file TextNodeDumper.cpp.

References clang::ReferenceType::isSpelledAsLValue().

◆ VisitSizeOfPackExpr()

void TextNodeDumper::VisitSizeOfPackExpr ( const SizeOfPackExpr Node)

Definition at line 952 of file TextNodeDumper.cpp.

References dumpName(), dumpPointer(), and clang::SizeOfPackExpr::getPack().

◆ VisitStringLiteral()

void TextNodeDumper::VisitStringLiteral ( const StringLiteral Str)

Definition at line 782 of file TextNodeDumper.cpp.

References clang::StringLiteral::outputString(), and clang::ValueColor.

◆ VisitSwitchStmt()

void TextNodeDumper::VisitSwitchStmt ( const SwitchStmt Node)

◆ VisitTagType()

void TextNodeDumper::VisitTagType ( const TagType T)

Definition at line 1185 of file TextNodeDumper.cpp.

References dumpDeclRef(), and clang::TagType::getDecl().

◆ VisitTemplateExpansionTemplateArgument()

void TextNodeDumper::VisitTemplateExpansionTemplateArgument ( const TemplateArgument TA)

◆ VisitTemplateSpecializationType()

void TextNodeDumper::VisitTemplateSpecializationType ( const TemplateSpecializationType T)

◆ VisitTemplateTemplateArgument()

void TextNodeDumper::VisitTemplateTemplateArgument ( const TemplateArgument TA)

◆ VisitTemplateTemplateParmDecl()

void TextNodeDumper::VisitTemplateTemplateParmDecl ( const TemplateTemplateParmDecl D)

◆ VisitTemplateTypeParmDecl()

void TextNodeDumper::VisitTemplateTypeParmDecl ( const TemplateTypeParmDecl D)

◆ VisitTemplateTypeParmType()

void TextNodeDumper::VisitTemplateTypeParmType ( const TemplateTypeParmType T)

◆ visitTextComment()

void TextNodeDumper::visitTextComment ( const comments::TextComment C,
const comments::FullComment  
)

Definition at line 471 of file TextNodeDumper.cpp.

References clang::comments::TextComment::getText().

◆ visitTParamCommandComment()

void TextNodeDumper::visitTParamCommandComment ( const comments::TParamCommandComment C,
const comments::FullComment FC 
)

◆ VisitTypeAliasDecl()

void TextNodeDumper::VisitTypeAliasDecl ( const TypeAliasDecl D)

◆ VisitTypeAliasTemplateDecl()

void TextNodeDumper::VisitTypeAliasTemplateDecl ( const TypeAliasTemplateDecl D)

Definition at line 1518 of file TextNodeDumper.cpp.

References dumpName().

◆ VisitTypedefDecl()

void TextNodeDumper::VisitTypedefDecl ( const TypedefDecl D)

◆ VisitTypedefType()

void TextNodeDumper::VisitTypedefType ( const TypedefType T)

Definition at line 1173 of file TextNodeDumper.cpp.

References dumpDeclRef(), and clang::TypedefType::getDecl().

◆ VisitTypeTemplateArgument()

void TextNodeDumper::VisitTypeTemplateArgument ( const TemplateArgument TA)

Definition at line 588 of file TextNodeDumper.cpp.

References dumpType(), and clang::TemplateArgument::getAsType().

◆ VisitUnaryExprOrTypeTraitExpr()

void TextNodeDumper::VisitUnaryExprOrTypeTraitExpr ( const UnaryExprOrTypeTraitExpr Node)

◆ VisitUnaryOperator()

void TextNodeDumper::VisitUnaryOperator ( const UnaryOperator Node)

◆ VisitUnaryTransformType()

void TextNodeDumper::VisitUnaryTransformType ( const UnaryTransformType T)

◆ VisitUnresolvedLookupExpr()

void TextNodeDumper::VisitUnresolvedLookupExpr ( const UnresolvedLookupExpr Node)

◆ VisitUnresolvedUsingType()

void TextNodeDumper::VisitUnresolvedUsingType ( const UnresolvedUsingType T)

Definition at line 1169 of file TextNodeDumper.cpp.

References dumpDeclRef(), and clang::UnresolvedUsingType::getDecl().

◆ VisitUnresolvedUsingTypenameDecl()

void TextNodeDumper::VisitUnresolvedUsingTypenameDecl ( const UnresolvedUsingTypenameDecl D)

◆ VisitUnresolvedUsingValueDecl()

void TextNodeDumper::VisitUnresolvedUsingValueDecl ( const UnresolvedUsingValueDecl D)

◆ VisitUsingDecl()

void TextNodeDumper::VisitUsingDecl ( const UsingDecl D)

◆ VisitUsingDirectiveDecl()

void TextNodeDumper::VisitUsingDirectiveDecl ( const UsingDirectiveDecl D)

◆ VisitUsingShadowDecl()

void TextNodeDumper::VisitUsingShadowDecl ( const UsingShadowDecl D)

◆ VisitVarDecl()

void TextNodeDumper::VisitVarDecl ( const VarDecl D)

◆ VisitVariableArrayType()

void TextNodeDumper::VisitVariableArrayType ( const VariableArrayType T)

◆ VisitVarTemplateDecl()

void TextNodeDumper::VisitVarTemplateDecl ( const VarTemplateDecl D)

Definition at line 1674 of file TextNodeDumper.cpp.

References dumpName().

◆ VisitVectorType()

void TextNodeDumper::VisitVectorType ( const VectorType T)

◆ visitVerbatimBlockComment()

void TextNodeDumper::visitVerbatimBlockComment ( const comments::VerbatimBlockComment C,
const comments::FullComment  
)

◆ visitVerbatimBlockLineComment()

void TextNodeDumper::visitVerbatimBlockLineComment ( const comments::VerbatimBlockLineComment C,
const comments::FullComment  
)

◆ visitVerbatimLineComment()

void TextNodeDumper::visitVerbatimLineComment ( const comments::VerbatimLineComment C,
const comments::FullComment  
)

◆ VisitWhileStmt()

void TextNodeDumper::VisitWhileStmt ( const WhileStmt Node)

Definition at line 667 of file TextNodeDumper.cpp.

References clang::WhileStmt::hasVarStorage().


The documentation for this class was generated from the following files: