Home | History | Annotate | Download | only in libclang

Lines Matching full:traverse

83 ///   1. traverse the AST (i.e. go to each node);
105 /// These three method groups are tiered (Traverse* > WalkUpFrom* >
106 /// Visit*). A method (e.g. Traverse*) may call methods from the same
107 /// tier (e.g. other Traverse*) or one tier lower (e.g. WalkUpFrom*).
125 /// template pattern) and override any of the Traverse*, WalkUpFrom*,
129 /// users may override Traverse* and WalkUpFrom* to implement custom
158 /// dispatching to Traverse*() based on the argument's dynamic type.
165 /// Traverse*Type() based on the argument's getTypeClass() property.
172 /// Traverse*TypeLoc() based on the argument type's getTypeClass() property.
179 /// Traverse*Decl() based on the argument's dynamic type.
244 // Declare Traverse*() for all concrete Stmt classes.
247 bool Traverse##CLASS(CLASS *S);
263 // Define Traverse*(), WalkUpFrom*(), and Visit*() for unary
283 // Define Traverse*(), WalkUpFrom*(), and Visit*() for binary
305 // Define Traverse*(), WalkUpFrom*(), and Visit*() for compound
319 // Declare Traverse*() for all concrete Type classes.
322 bool Traverse##CLASS##Type(CLASS##Type *T);
341 // Declare Traverse*() for all concrete Type classes.
344 bool Traverse##CLASS##TypeLoc(CLASS##TypeLoc TL);
375 // Declare Traverse*() for all concrete Decl classes.
378 bool Traverse##CLASS##Decl(CLASS##Decl *D);
395 // These are helper methods used by more than one Traverse* method.
449 return getDerived().Traverse##NAME(static_cast<CLASS*>(VAR))
468 TRY_TO(Traverse##NAME(static_cast<CLASS*>(VAR))); break
545 return getDerived().Traverse##CLASS##TypeLoc(TL.castAs<CLASS##TypeLoc>());
762 bool RecursiveASTVisitor<Derived>::Traverse##TYPE (TYPE *T) { \
945 bool RecursiveASTVisitor<Derived>::Traverse##TYPE##Loc(TYPE##Loc TL) { \
998 // We traverse this in the type case as well, but how is it not reached through
1176 // Therefore each Traverse* only needs to worry about children other
1199 bool RecursiveASTVisitor<Derived>::Traverse##DECL (DECL *D) { \
1279 // We shouldn't traverse an aliased namespace, since it will be
1407 // By default, we do not traverse the instantiations of
1411 // We only traverse the class instantiations when we see the canonical
1458 // By default, we do not traverse the instantiations of
1462 // We only traverse the variable instantiations when we see the canonical
1507 // By default, we do not traverse the instantiations of
1511 // We only traverse the function instantiations when we see the canonical
1538 // We shouldn't traverse D->getTypeForDecl(); it's a result of
1545 // We shouldn't traverse D->getTypeForDecl(); it's a result of
1559 // We shouldn't traverse D->getTypeForDecl(); it's a result of
1578 // We shouldn't traverse D->getTypeForDecl(); it's a result of
1596 // We don't traverse the friends or the conversions, as they are
1789 // Default params are taken care of when we traverse the ParmVarDecl.
1866 // though sometimes the range is empty). Each individual Traverse*
1874 bool RecursiveASTVisitor<Derived>::Traverse##STMT (STMT *S) { \
1915 // initializer]'. The decls above already traverse over the
1988 // We don't traverse the cast type, as it's not written in the
2180 // We traverse those if so. FIXME: implement these.
2296 // Traverse OpenCL: AsType, Convert.