Searched refs:LiteralDecl (Results 1 – 4 of 4) sorted by relevance
187 return unique_ptr<Declaration>(new LiteralDecl(code.str())); in BuildMetaMethodDecl()200 return unique_ptr<Declaration>(new LiteralDecl(code.str())); in BuildMetaMethodDecl()447 return unique_ptr<Declaration>(new LiteralDecl(code.str())); in DefineClientMetaTransaction()471 return unique_ptr<Declaration>(new LiteralDecl(code.str())); in DefineClientMetaTransaction()508 file_decls.push_back(unique_ptr<Declaration>(new LiteralDecl(code))); in BuildClientSource()760 decls.emplace_back(new LiteralDecl(code.str())); in BuildServerSource()767 decls.emplace_back(new LiteralDecl(code.str())); in BuildServerSource()777 decls.push_back(unique_ptr<Declaration>(new LiteralDecl(code))); in BuildServerSource()859 new LiteralDecl{"static std::function<void(const Json::Value&)> logFunc;\n"}); in BuildClientHeader()865 privates.emplace_back(new LiteralDecl("int32_t cached_version_ = -1;\n")); in BuildClientHeader()[all …]
54 class LiteralDecl : public Declaration {56 explicit LiteralDecl(const std::string& expression);57 ~LiteralDecl() = default;
38 LiteralDecl::LiteralDecl(const std::string& expression) : expression_(expression) {} in LiteralDecl() function in android::aidl::cpp::LiteralDecl40 void LiteralDecl::Write(CodeWriter* to) const { in Write()
263 LiteralDecl decl(literal); in TEST_F()