Searched defs:Hook (Results 1 – 1 of 1) sorted by relevance
108 struct Hook : public AidlVisitor { in Check() struct109 Fun fun; in Check()110 Hook(Fun fun) : fun(fun) {} in Check() function111 void Visit(const AidlInterface& a) override { fun(a); } in Check()112 void Visit(const AidlEnumDeclaration& a) override { fun(a); } in Check()113 void Visit(const AidlStructuredParcelable& a) override { fun(a); } in Check()114 void Visit(const AidlUnionDecl& a) override { fun(a); } in Check()115 void Visit(const AidlParcelable& a) override { fun(a); } in Check()116 void Visit(const AidlMethod& a) override { fun(a.GetType()); } in Check()